SlimDX Documentation
Resource Class
NamespacesSlimDX.DXGIResource
Implements a base interface that allows resource sharing and identifies the memory that a resource resides in.

Unmanaged counterpart:

Declaration Syntax
C#
public class Resource : DeviceChild
Members
All Members Constructors Methods Properties



Icon Member Description
Resource(IComObject)
Initializes a new instance of the Resource class.

Resource(IDXGIResource*, ComObject, Boolean)
Initializes a new instance of the Resource class

Resource(IntPtr)
Initializes a new instance of the Resource class

Resource(IDXGIResource*, ComObject)
Initializes a new instance of the Resource class

ComPointer
Gets an IntPtr to the underlying native COM interface.
(Inherited from ComObject.)
CreationSource
Gets a StackTrace to the location where the object was created.
(Inherited from ComObject.)
CreationTime
Gets the timestamp, in milliseconds, of the object'ss creation.
(Inherited from ComObject.)
DebugName
Gets or sets a friendly debug name for the object. This name is used in debug messages as well as in the PIX object browser.
(Inherited from DXGIObject.)
Device
Gets the device to which the object is bound.
(Inherited from DeviceChild.)
Dispose(Boolean) (Inherited from ComObject.)
Dispose()()()()
Releases all resources used by the ComObject.
(Inherited from ComObject.)
Disposed
Gets a value that indicates whether the object has been disposed.
(Inherited from ComObject.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
EvictionPriority
Gets or sets the eviction priority for the resource.

Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FromPointer(IntPtr)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetParent<(Of <<'(T>)>>)()()()()
Gets the parent of the object.
(Inherited from DXGIObject.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
InternalPointer
IsDefaultPool
Gets or sets a value indicating whether or not the object is in the default allocation pool.
(Inherited from ComObject.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
NativeInterface
SharedHandle
Get the handle to a shared resource. The returned handle can be used to open the resource using different Direct3D devices.

Tag
Extra tag data stored along with the object. This member is intended for use by users of SlimDX and has no internal meaning to the library.
(Inherited from ComObject.)
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Usage
Gets the resource usage.

Inheritance Hierarchy
Object
ComObject
  DXGIObject
    DeviceChild
      Resource

Assembly: SlimDX (Module: SlimDX) Version: 2.0.11.43