[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct3D11.ComputeShaderStage

Class ComputeShaderStage

Namespace
GrapeCity.Documents.DX.Direct3D11
Assembly
GcDocs.DX.Windows.dll

ID3D11DeviceContext

[Guid("c0bfa96c-e089-44fb-8eaf-26f8796190da")]
public class ComputeShaderStage : CommonShaderStage<ComputeShader>, IDisposable
Inheritance
object
ComputeShaderStage
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

ComputeShaderStage(IntPtr)

Initializes a new instance of the ComputeShaderStage class.

public ComputeShaderStage(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Fields

DispatchMaximumThreadGroupsPerDimension

Constant DispatchMaximumThreadGroupsPerDimension.

public const int DispatchMaximumThreadGroupsPerDimension = 65535

Field Value

int

ThreadgroupidRegisterComponents

Constant ThreadgroupidRegisterComponents.

public const int ThreadgroupidRegisterComponents = 3

Field Value

int

ThreadgroupidRegisterCount

Constant ThreadgroupidRegisterCount.

public const int ThreadgroupidRegisterCount = 1

Field Value

int

ThreadGroupMaximumThreadsPerGroup

Constant ThreadGroupMaximumThreadsPerGroup.

public const int ThreadGroupMaximumThreadsPerGroup = 1024

Field Value

int

ThreadGroupMaximumX

Constant ThreadGroupMaximumX.

public const int ThreadGroupMaximumX = 1024

Field Value

int

ThreadGroupMaximumY

Constant ThreadGroupMaximumY.

public const int ThreadGroupMaximumY = 1024

Field Value

int

ThreadGroupMaximumZ

Constant ThreadGroupMaximumZ.

public const int ThreadGroupMaximumZ = 64

Field Value

int

ThreadGroupMinimumX

Constant ThreadGroupMinimumX.

public const int ThreadGroupMinimumX = 1

Field Value

int

ThreadGroupMinimumY

Constant ThreadGroupMinimumY.

public const int ThreadGroupMinimumY = 1

Field Value

int

ThreadGroupMinimumZ

Constant ThreadGroupMinimumZ.

public const int ThreadGroupMinimumZ = 1

Field Value

int

ThreadGroupSharedMemoryRegisterCount

Constant ThreadGroupSharedMemoryRegisterCount.

public const int ThreadGroupSharedMemoryRegisterCount = 8192

Field Value

int

ThreadGroupSharedMemoryRegisterReadsPerInst

Constant ThreadGroupSharedMemoryRegisterReadsPerInst.

public const int ThreadGroupSharedMemoryRegisterReadsPerInst = 1

Field Value

int

ThreadGroupSharedMemoryResourceRegisterComponents

Constant ThreadGroupSharedMemoryResourceRegisterComponents.

public const int ThreadGroupSharedMemoryResourceRegisterComponents = 1

Field Value

int

ThreadGroupSharedMemoryResourceRegisterReadPorts

Constant ThreadGroupSharedMemoryResourceRegisterReadPorts.

public const int ThreadGroupSharedMemoryResourceRegisterReadPorts = 1

Field Value

int

ThreadidingroupflattenedRegisterComponents

Constant ThreadidingroupflattenedRegisterComponents.

public const int ThreadidingroupflattenedRegisterComponents = 1

Field Value

int

ThreadidingroupflattenedRegisterCount

Constant ThreadidingroupflattenedRegisterCount.

public const int ThreadidingroupflattenedRegisterCount = 1

Field Value

int

ThreadidingroupRegisterComponents

Constant ThreadidingroupRegisterComponents.

public const int ThreadidingroupRegisterComponents = 3

Field Value

int

ThreadidingroupRegisterCount

Constant ThreadidingroupRegisterCount.

public const int ThreadidingroupRegisterCount = 1

Field Value

int

ThreadidRegisterComponents

Constant ThreadidRegisterComponents.

public const int ThreadidRegisterComponents = 3

Field Value

int

ThreadidRegisterCount

Constant ThreadidRegisterCount.

public const int ThreadidRegisterCount = 1

Field Value

int

ThreadLocalTempRegisterPool

Constant ThreadLocalTempRegisterPool.

public const int ThreadLocalTempRegisterPool = 16384

Field Value

int

UnorderedAccessViewSlotCount

Constant UnorderedAccessViewSlotCount.

public const int UnorderedAccessViewSlotCount = 8

Field Value

int

Methods

GetUnorderedAccessViews(int, int, UnorderedAccessView[])

void ID3D11DeviceContext::CSGetUnorderedAccessViews([In] unsigned int StartSlot,[In] unsigned int NumUAVs,[Out, Buffer, Optional] ID3D11UnorderedAccessView** ppUnorderedAccessViews)

public void GetUnorderedAccessViews(int startSlot, int numUAVs, UnorderedAccessView[] unorderedAccessViewsOut)

Parameters

startSlot int
numUAVs int
unorderedAccessViewsOut UnorderedAccessView[]

GetUnorderedAccessViews(int, int)

Gets an array of views for an unordered resource.

public UnorderedAccessView[] GetUnorderedAccessViews(int startSlot, int count)

Parameters

startSlot int

Index of the first element in the zero-based array to return (ranges from 0 to D3D11_PS_CS_UAV_REGISTER_COUNT - 1).

count int

Number of views to get (ranges from 0 to D3D11_PS_CS_UAV_REGISTER_COUNT - StartSlot).

Returns

UnorderedAccessView[]

SetUnorderedAccessView(int, UnorderedAccessView, int)

Sets an array of views for an unordered resource.

public void SetUnorderedAccessView(int startSlot, UnorderedAccessView unorderedAccessView, int uavInitialCount)

Parameters

startSlot int

Index of the first element in the zero-based array to begin setting.

unorderedAccessView UnorderedAccessView

A reference to an UnorderedAccessView references to be set by the method.

uavInitialCount int

An Append/Consume buffer offsets. A value of -1 indicates the current offset should be kept. Any other values set the hidden counter for that Appendable/Consumable UAV. uAVInitialCount is only relevant for UAVs which have the UnorderedAccessViewBufferFlags flag, otherwise the argument is ignored.

SetUnorderedAccessView(int, UnorderedAccessView)

Sets an array of views for an unordered resource.

public void SetUnorderedAccessView(int startSlot, UnorderedAccessView unorderedAccessView)

Parameters

startSlot int

Index of the first element in the zero-based array to begin setting.

unorderedAccessView UnorderedAccessView

A reference to an UnorderedAccessView references to be set by the method.

SetUnorderedAccessViews(int, UnorderedAccessView[], int[])

Sets an array of views for an unordered resource.

public void SetUnorderedAccessViews(int startSlot, UnorderedAccessView[] unorderedAccessViews, int[] uavInitialCounts)

Parameters

startSlot int

Index of the first element in the zero-based array to begin setting.

unorderedAccessViews UnorderedAccessView[]

A reference to an array of UnorderedAccessView references to be set by the method.

uavInitialCounts int[]

An array of Append/Consume buffer offsets. A value of -1 indicates the current offset should be kept. Any other values set the hidden counter for that Appendable/Consumable UAV. pUAVInitialCounts is only relevant for UAVs which have the UnorderedAccessViewBufferFlags flag, otherwise the argument is ignored.

SetUnorderedAccessViews(int, params UnorderedAccessView[])

Sets an array of views for an unordered resource.

public void SetUnorderedAccessViews(int startSlot, params UnorderedAccessView[] unorderedAccessViews)

Parameters

startSlot int

Index of the first element in the zero-based array to begin setting.

unorderedAccessViews UnorderedAccessView[]

A reference to an array of UnorderedAccessView references to be set by the method.

Operators

explicit operator ComputeShaderStage(IntPtr)

Performs an explicit conversion from System.IntPtr to ComputeShaderStage.

public static explicit operator ComputeShaderStage(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

ComputeShaderStage