Class GraphicsResource
GraphicsResource class
public abstract class GraphicsResource : GraphicsResourceBase, IDisposable, IComponent, IReferencable, ICollectorHolder
- Inheritance
-
GraphicsResource
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
GraphicsResource()
protected GraphicsResource()
GraphicsResource(GraphicsDevice)
protected GraphicsResource(GraphicsDevice device)
Parameters
device
GraphicsDevice
GraphicsResource(GraphicsDevice, string)
protected GraphicsResource(GraphicsDevice device, string name)
Parameters
device
GraphicsDevicename
string
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()