Tesla Graphics Engine Documentation (January 2012)
Texture2DImplementation Class
TeslaTesla.Graphics.ImplementationTexture2DImplementation
Abstract class for concrete subclasses to provide the underlying implementation of Texture2D and RenderTarget2D.
Declaration Syntax
C#
public abstract class Texture2DImplementation : GraphicsResourceImplementation
Members
All Members Constructors Methods Properties



Icon Member Description
Texture2DImplementation(Int32, Int32, SurfaceFormat)
Creates a new instance of Texture2DImplementation.

Texture2DImplementation(Int32, Int32, SurfaceFormat, DepthFormat, Int32, RenderTargetUsage)
Creates a new instance of Texture2DImplementation for use as a RenderTarget.

DepthFormat
Gets the format of the depth-stencil buffer. Only valid if the implementation represents a render target.

Dispose()()()()
Disposes the underlying implementation.
(Inherited from GraphicsResourceImplementation.)
Dispose(Boolean)
Releases unmanaged and - optionally - managed resources
(Inherited from GraphicsResourceImplementation.)
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 GraphicsResourceImplementation is reclaimed by garbage collection.
(Inherited from GraphicsResourceImplementation.)
Format
Gets the format of the texture resource.

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

IsDisposed
Gets if the resource has been disposed.
(Inherited from GraphicsResourceImplementation.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
MipCount
Gets the number of mip map levels in the texture resource.

MultiSampleCount
Gets the multisample count used during multisampling. Only valid if the implementation represents a render target.

Name
Gets or sets the name of this resource.
(Inherited from GraphicsResourceImplementation.)
ResourceID
Gets or sets the resource ResourceID. It can only be set once, usually by the renderer.
(Inherited from GraphicsResourceImplementation.)
SetData<(Of <<'(T>)>>)(array<T>[]()[][], Int32, Nullable<(Of <<'(Rectangle>)>>), Int32, Int32)
Sets the data to the texture.

TargetUsage
Gets the render target usage. Only valid if the implementation represents a render target.

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

Inheritance Hierarchy

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