[]
        
(Showing Draft Content)

C1.Util.DX.Direct3D11.CommonShaderStageBase

CommonShaderStageBase 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...

Inheritance
CommonShaderStageBase
Implements
Namespace: C1.Util.DX.Direct3D11
Assembly: C1.Win.C1DX.4.8.dll
Syntax
public abstract class CommonShaderStageBase : CppObject, IDisposable

Constructors

Name Description
CommonShaderStageBase(IntPtr)

Initializes a new instance of the CommonShaderStageBase class.

Fields

Name Description
ConstantBufferApiSlotCount

D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT

ConstantBufferComponentBitCount

D3D11_COMMONSHADER_CONSTANT_BUFFER_COMPONENT_BIT_COUNT

ConstantBufferComponents

D3D11_COMMONSHADER_CONSTANT_BUFFER_COMPONENTS

ConstantBufferHwSlotCount

D3D11_COMMONSHADER_CONSTANT_BUFFER_HW_SLOT_COUNT

ConstantBufferPartialUpdateExtentsByteAlignment

D3D11_COMMONSHADER_CONSTANT_BUFFER_PARTIAL_UPDATE_EXTENTS_BYTE_ALIGNMENT

ConstantBufferRegisterComponents

D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_COMPONENTS

ConstantBufferRegisterCount

D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_COUNT

ConstantBufferRegisterReadPorts

D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_READ_PORTS

ConstantBufferRegisterReadsPerInst

D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_READS_PER_INST

FlowcontrolNestingLimit

D3D11_COMMONSHADER_FLOWCONTROL_NESTING_LIMIT

ImmediateConstantBufferRegisterComponents

D3D11_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_COMPONENTS

ImmediateConstantBufferRegisterCount

D3D11_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_COUNT

ImmediateConstantBufferRegisterReadPorts

D3D11_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_READ_PORTS

ImmediateConstantBufferRegisterReadsPerInst

D3D11_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_READS_PER_INST

ImmediateValueComponentBitCount

D3D11_COMMONSHADER_IMMEDIATE_VALUE_COMPONENT_BIT_COUNT

InputResourceRegisterComponents

D3D11_COMMONSHADER_INPUT_RESOURCE_REGISTER_COMPONENTS

InputResourceRegisterCount

D3D11_COMMONSHADER_INPUT_RESOURCE_REGISTER_COUNT

InputResourceRegisterReadPorts

D3D11_COMMONSHADER_INPUT_RESOURCE_REGISTER_READ_PORTS

InputResourceRegisterReadsPerInst

D3D11_COMMONSHADER_INPUT_RESOURCE_REGISTER_READS_PER_INST

InputResourceSlotCount

D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT

SamplerRegisterComponents

D3D11_COMMONSHADER_SAMPLER_REGISTER_COMPONENTS

SamplerRegisterCount

D3D11_COMMONSHADER_SAMPLER_REGISTER_COUNT

SamplerRegisterReadPorts

D3D11_COMMONSHADER_SAMPLER_REGISTER_READ_PORTS

SamplerRegisterReadsPerInst

D3D11_COMMONSHADER_SAMPLER_REGISTER_READS_PER_INST

SamplerSlotCount

D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT

SubRoutineNestingLimit

D3D11_COMMONSHADER_SUBROUTINE_NESTING_LIMIT

TempRegisterComponentBitCount

D3D11_COMMONSHADER_TEMP_REGISTER_COMPONENT_BIT_COUNT

TempRegisterComponents

D3D11_COMMONSHADER_TEMP_REGISTER_COMPONENTS

TempRegisterCount

D3D11_COMMONSHADER_TEMP_REGISTER_COUNT

TempRegisterReadPorts

D3D11_COMMONSHADER_TEMP_REGISTER_READ_PORTS

TempRegisterReadsPerInst

D3D11_COMMONSHADER_TEMP_REGISTER_READS_PER_INST

TextureCoordRangeReductionMaximum

D3D11_COMMONSHADER_TEXCOORD_RANGE_REDUCTION_MAX

TextureCoordRangeReductionMinimum

D3D11_COMMONSHADER_TEXCOORD_RANGE_REDUCTION_MIN

TextureElOffsetMaximumNegative

D3D11_COMMONSHADER_TEXEL_OFFSET_MAX_NEGATIVE

TextureElOffsetMaximumPositive

D3D11_COMMONSHADER_TEXEL_OFFSET_MAX_POSITIVE

Methods

Name Description
GetConstantBuffers(int, int)

Gets the constant buffers used by the shader stage.

GetSamplers(int, int)

Gets the sampler states used by the shader stage.

GetShaderResources(int, int)

Gets the shader resources used by the shader stage.

SetConstantBuffer(int, Buffer)

Sets a single constant buffer to be used by the shader stage.

SetConstantBuffers(int, ComArray<Buffer>)

Sets an array of constant buffers to be used by the shader stage.

SetConstantBuffers(int, params Buffer[])

Sets an array of constant buffers to be used by the shader stage.

SetConstantBuffers(int, int, ComArray<Buffer>)

Set the constant buffers used by the shader pipeline stage.

SetConstantBuffers(int, int, params Buffer[])

Set the constant buffers used by the shader pipeline stage.

SetSampler(int, SamplerState)

Sets a single sampler to be used by the shader stage.

SetSamplers(int, ComArray<SamplerState>)

Sets an array of samplers to be used by the shader stage.

SetSamplers(int, params SamplerState[])

Sets an array of samplers to be used by the shader stage.

SetSamplers(int, int, ComArray<SamplerState>)

Set an array of sampler states to the shader pipeline stage.

SetSamplers(int, int, params SamplerState[])

Set an array of sampler states to the shader pipeline stage.

SetShaderResource(int, ShaderResourceView)

Sets a single shader resource to be used by the shader stage.

SetShaderResources(int, ComArray<ShaderResourceView>)

Bind an array of shader resources to the shader stage.

SetShaderResources(int, params ShaderResourceView[])

Bind an array of shader resources to the shader stage.

SetShaderResources(int, int, ComArray<ShaderResourceView>)

Bind an array of shader resources to the shader stage.

SetShaderResources(int, int, params ShaderResourceView[])

Bind an array of shader resources to the shader stage.