Click or drag to resize
AB4D logo

SharedDXResource Class

SharedDXResource class is a base class for DXEngine's resources that can be shared by many difference objects.
Inheritance Hierarchy
SystemObject
  Ab3d.DirectXDXResourceBase
    Ab3d.DirectXSharedDXResource
      Ab3d.DirectXSharedDXDeviceResource
      Ab3d.DirectXSharedDXSceneResource

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax
C#
public class SharedDXResource : DXResourceBase, 
	ISharedDXResource, IDisposableDXResource, IDXResource, IDisposable

The SharedDXResource type exposes the following members.

Constructors
 NameDescription
Public methodSharedDXResource Initializes a new instance of the SharedDXResource class and sets ReferencesCount to 1.
Public methodSharedDXResource(String) Initializes a new instance of the SharedDXResource class and sets ReferencesCount to 1.
Top
Properties
 NameDescription
Public propertyIsDisposed Gets a Boolean that specifies if this resource has been disposed.
Public propertyIsDisposing Gets a Boolean that specifies if this resources is currently being disposed (Dispose method has already been called but is not yet finished).
Public propertyReferencesCount Gets an integer that specifies the references count for this resource.
Top
Methods
 NameDescription
Public methodAddRef Increases reference count on this resource.
Public methodDispose Dispose method decreases the reference count of this object. When reference count gets to zero, this object is disposed.
Public methodDisposeAllReferences Disposes this object regardless of the count of references.
Top
Events
 NameDescription
Public eventDisposing Occurs when when Dispose is called.
Top
See Also