GraphicsResource Class
Namespace: Stride.GraphicsAssembly: Stride.Graphics.dll
GraphicsResource class
public abstract class GraphicsResource : GraphicsResourceBase, IDisposable, IComponent, IReferencable, ICollectorHolder
| Name | Description | |
|---|---|---|
| Constructors | ||
| GraphicsResource() | ||
| GraphicsResource(GraphicsDevice) | ||
| GraphicsResource(GraphicsDevice, String) | ||
| Properties | ||
| IsDebugMode | ||
| NativeShaderResourceView | Gets or sets the ShaderResourceView attached to this GraphicsResource. Note that only Texture, Texture3D, RenderTarget2D, RenderTarget3D, DepthStencil are using this ShaderResourceView |
|
| NativeUnorderedAccessView | Gets or sets the UnorderedAccessView attached to this GraphicsResource. |
|
| Methods | ||
| OnDestroyed() | ||
| OnNameChanged() | ||
Constructors
GraphicsResource()
protected GraphicsResource()
GraphicsResource(GraphicsDevice)
protected GraphicsResource(GraphicsDevice device)
Parameters
| Type | Name | Description |
|---|---|---|
| GraphicsDevice | device |
GraphicsResource(GraphicsDevice, String)
protected GraphicsResource(GraphicsDevice device, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| GraphicsDevice | device | |
| System.String | name |
Properties
IsDebugMode
protected bool IsDebugMode { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
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
| Type | Description |
|---|---|
| SharpDX.Direct3D11.ShaderResourceView | The device child. |
NativeUnorderedAccessView
Gets or sets the UnorderedAccessView attached to this GraphicsResource.
protected UnorderedAccessView NativeUnorderedAccessView { get; set; }
Property Value
| Type | Description |
|---|---|
| SharpDX.Direct3D11.UnorderedAccessView | The device child. |
Methods
OnDestroyed()
protected override void OnDestroyed()
Overrides
OnNameChanged()
protected override void OnNameChanged()