Tesla Graphics Engine Documentation (January 2012)
Texture Class
TeslaTesla.GraphicsTexture
Abstract base class for all texture resources.
Declaration Syntax
C#
public abstract class Texture : GraphicsResource, 
	ISavable
Members
All Members Constructors Methods Properties



Icon Member Description
Texture()()()()
Dimensions
Gets the texture dimensions, identifying the texture resource.

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()()()()
Resource finalizer
(Inherited from GraphicsResource.)
Format
Gets the format of the texture resource.

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.
(Inherited from GraphicsResource.)
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.

Name
Get or sets the name of this resource.
(Inherited from GraphicsResource.)
Read(ISavableReader)
Deserializes the object and populates it from the input.

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.)
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Write(ISavableWriter)
Serializes the object and writes it to the output.

Inheritance Hierarchy
Object
GraphicsResource
  Texture
    Texture1D
    Texture2D
    Texture3D
    TextureCube

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