Tesla Graphics Engine Documentation (January 2012)
GraphicsResource Class
TeslaTesla.GraphicsGraphicsResource
Abstract class that represents a resource bound to the graphics pipeline.
Declaration Syntax
C#
public abstract class GraphicsResource : IDisposable
Members
All Members Constructors Methods Properties



Icon Member Description
GraphicsResource()()()()
Creates a new instance of GraphicsResource.

Dispose()()()()
Dispose the resource.

Dispose(Boolean)
Releases unmanaged and - optionally - managed resources

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Resource finalizer
(Overrides Object.Finalize()()()().)
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.

IsDisposed
Gets if the resource's implementation has been disposed.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Name
Get or sets the name of this resource.

RenderSystem
Gets or protected sets the render system that created this resource.

ResourceID
Gets or sets the ResourceID of this resource. Can only be set once, usually by the renderer.

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
GraphicsResource
  Effect
  IndexBuffer
  RenderState
  SwapChain
  Texture
  VertexBuffer

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