Class GraphicsResource
GraphicsResource class
public abstract class GraphicsResource : GraphicsResourceBase, IDisposable, IComponent, IReferencable, ICollectorHolder- Inheritance
- 
      objectGraphicsResource
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
GraphicsResource()
protected GraphicsResource()GraphicsResource(GraphicsDevice)
protected GraphicsResource(GraphicsDevice device)Parameters
- deviceGraphicsDevice
GraphicsResource(GraphicsDevice, string)
protected GraphicsResource(GraphicsDevice device, string name)Parameters
- deviceGraphicsDevice
- namestring
Properties
IsDebugMode
protected bool IsDebugMode { get; }Property Value
NativeShaderResourceView
Gets or sets the ShaderResourceView attached to this GraphicsResource. Note that only Texture, Texture3D, RenderTarget2D, RenderTarget3D, DepthStencil are using this ShaderResourceView
protected ShaderResourceView NativeShaderResourceView { get; set; }Property Value
- ShaderResourceView
- The device child. 
NativeUnorderedAccessView
Gets or sets the UnorderedAccessView attached to this GraphicsResource.
protected UnorderedAccessView NativeUnorderedAccessView { get; set; }Property Value
- UnorderedAccessView
- The device child. 
Methods
OnDestroyed()
Called when graphics device has been detected to be internally destroyed.
protected override void OnDestroyed()OnNameChanged()
Called when Name property was changed.
protected override void OnNameChanged()