Tesla Graphics Engine Documentation (January 2012)
TextureCube Class
TeslaTesla.GraphicsTextureCube
Represents a cube where each face is a 2-Dimensional texture.
Declaration Syntax
C#
public class TextureCube : Texture
Members
All Members Constructors Methods Properties



Icon Member Description
TextureCube()()()()
For ISavable.

TextureCube(Int32)
Creates a new instance of TextureCube.

TextureCube(Int32, Boolean, SurfaceFormat)
Creates a new instance of TextureCube.

TextureCube(Int32, Boolean, SurfaceFormat, array<DataBuffer>[]()[][])
Creates a new instance of TextureCube.

TextureCube(IRenderSystemProvider, Int32)
Creates a new instance of TextureCube.

TextureCube(IRenderSystemProvider, Int32, Boolean, SurfaceFormat)
Creates a new instance of TextureCube.

TextureCube(IRenderSystemProvider, Int32, Boolean, SurfaceFormat, array<DataBuffer>[]()[][])
Creates a new instance of TextureCube.

Dimensions
Gets the texture dimensions, identifying the texture resource.
(Overrides Texture.Dimensions.)
Dispose()()()()
Dispose the resource.
(Inherited from GraphicsResource.)
Dispose(Boolean)
Releases unmanaged and - optionally - managed resources
(Inherited from GraphicsResource.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Releases unmanaged resources and performs other cleanup operations before the TextureCube is reclaimed by garbage collection.
(Overrides GraphicsResource.Finalize()()()().)
Format
Gets the format of the texture resource.
(Overrides Texture.Format.)
GetData<(Of <<'(T>)>>)(CubeMapFace, array<T>[]()[][])
Gets the data from the texture.

GetData<(Of <<'(T>)>>)(CubeMapFace, array<T>[]()[][], Int32, Int32)
Gets the data from the texture.

GetData<(Of <<'(T>)>>)(CubeMapFace, array<T>[]()[][], Int32, Nullable<(Of <<'(Rectangle>)>>), Int32, Int32)
Gets the data from the texture.

GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
Implementation
Gets the API-specific implementation of this resource.
(Overrides GraphicsResource.Implementation.)
IsDisposed
Gets if the resource's implementation has been disposed.
(Inherited from GraphicsResource.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
MipCount
Gets the number of mip map levels in the texture resource.
(Overrides Texture.MipCount.)
Name
Get or sets the name of this resource.
(Inherited from GraphicsResource.)
Read(ISavableReader)
Deserializes the object and populates it from the input.
(Overrides Texture.Read(ISavableReader).)
RenderSystem
Gets or protected sets the render system that created this resource.
(Inherited from GraphicsResource.)
ResourceID
Gets or sets the ResourceID of this resource. Can only be set once, usually by the renderer.
(Inherited from GraphicsResource.)
SetData<(Of <<'(T>)>>)(CubeMapFace, array<T>[]()[][])
Sets the data to the texture.

SetData<(Of <<'(T>)>>)(CubeMapFace, array<T>[]()[][], Int32, Int32)
Sets the data to the texture.

SetData<(Of <<'(T>)>>)(CubeMapFace, array<T>[]()[][], Int32, Nullable<(Of <<'(Rectangle>)>>), Int32, Int32)
Sets the data to the texture.

Size
Gets the width/height of each cube face.

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Write(ISavableWriter)
Serializes the object and writes it to the output.
(Overrides Texture.Write(ISavableWriter).)
Inheritance Hierarchy
Object
GraphicsResource
  Texture
    TextureCube
      RenderTargetCube

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)