[]
        
(Showing Draft Content)

C1.Util.DX.Direct3D11.CommonShaderStage-1

CommonShaderStage<T> Class

Common Shader class. Provides a common set of methods for a Shader Stage. TODO: check if usage of abstract is not introducing an unacceptable overhead...

Implements
Namespace: C1.Util.DX.Direct3D11
Assembly: C1.Win.C1DX.4.8.dll
Syntax
public abstract class CommonShaderStage<T> : CommonShaderStageBase, IDisposable where T : DeviceChild
Type Parameters
Name Description
T

Type of the shader

Constructors

Name Description
CommonShaderStage(IntPtr)

Initializes a new instance of the CommonShaderStage<T> class.

Methods

Name Description
Get()

Gets the shader currently assigned to the device.

Get(ClassInstance[])

Gets the shader currently assigned to the device.

Set(T)

Assigns a compute shader to the device.

Set(T, ComArray<ClassInstance>)

Assigns a compute shader to the device.

Set(T, ClassInstance[])

Assigns a compute shader to the device.