Tesla Graphics Engine Documentation (January 2012)
Texture3D Class
TeslaTesla.GraphicsTexture3D
Represents a 3-Dimensional texture that has width, height, and depth.
Declaration Syntax
C#
public class Texture3D : Texture
Members
All Members Constructors Methods Properties



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

Texture3D(Int32, Int32, Int32)
Creates a new instance of Texture3D. This creates an empty texture.

Texture3D(Int32, Int32, Int32, Boolean, SurfaceFormat)
Creates a new instance of Texture3D. This creates an empty texture.

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

Texture3D(IRenderSystemProvider, Int32, Int32, Int32)
Creates a new instance of Texture3D. This creates an empty texture.

Texture3D(IRenderSystemProvider, Int32, Int32, Int32, Boolean, SurfaceFormat)
Creates a new instance of Texture3D. This creates an empty texture.

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

Depth
Gets the texture depth, in pixels.

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 Texture3D is reclaimed by garbage collection.
(Overrides GraphicsResource.Finalize()()()().)
Format
Gets the format of the texture resource.
(Overrides Texture.Format.)
GetData<(Of <<'(T>)>>)(array<T>[]()[][])
Gets the data from the texture.

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

GetData<(Of <<'(T>)>>)(array<T>[]()[][], Int32, Int32, Int32, Int32, Int32, Int32, Int32, 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.)
Height
Gets the texture height, in pixels.

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>)>>)(array<T>[]()[][])
Sets the data from the texture.

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

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

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Width
Gets the texture width, in pixels.

Write(ISavableWriter)
Serializes the object and writes it to the output.
(Overrides Texture.Write(ISavableWriter).)
Inheritance Hierarchy
Object
GraphicsResource
  Texture
    Texture3D

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