[]
ID3D11DeviceContext
[Guid("c0bfa96c-e089-44fb-8eaf-26f8796190da")]
public class ComputeShaderStage : CommonShaderStage<ComputeShader>, IDisposable
Initializes a new instance of the ComputeShaderStage class.
public ComputeShaderStage(IntPtr nativePtr)
nativePtr System.IntPtrThe native pointer.
Constant DispatchMaximumThreadGroupsPerDimension.
public const int DispatchMaximumThreadGroupsPerDimension = 65535
Constant ThreadgroupidRegisterComponents.
public const int ThreadgroupidRegisterComponents = 3
Constant ThreadgroupidRegisterCount.
public const int ThreadgroupidRegisterCount = 1
Constant ThreadGroupMaximumThreadsPerGroup.
public const int ThreadGroupMaximumThreadsPerGroup = 1024
Constant ThreadGroupMaximumX.
public const int ThreadGroupMaximumX = 1024
Constant ThreadGroupMaximumY.
public const int ThreadGroupMaximumY = 1024
Constant ThreadGroupMaximumZ.
public const int ThreadGroupMaximumZ = 64
Constant ThreadGroupMinimumX.
public const int ThreadGroupMinimumX = 1
Constant ThreadGroupMinimumY.
public const int ThreadGroupMinimumY = 1
Constant ThreadGroupMinimumZ.
public const int ThreadGroupMinimumZ = 1
Constant ThreadGroupSharedMemoryRegisterCount.
public const int ThreadGroupSharedMemoryRegisterCount = 8192
Constant ThreadGroupSharedMemoryRegisterReadsPerInst.
public const int ThreadGroupSharedMemoryRegisterReadsPerInst = 1
Constant ThreadGroupSharedMemoryResourceRegisterComponents.
public const int ThreadGroupSharedMemoryResourceRegisterComponents = 1
Constant ThreadGroupSharedMemoryResourceRegisterReadPorts.
public const int ThreadGroupSharedMemoryResourceRegisterReadPorts = 1
Constant ThreadidingroupflattenedRegisterComponents.
public const int ThreadidingroupflattenedRegisterComponents = 1
Constant ThreadidingroupflattenedRegisterCount.
public const int ThreadidingroupflattenedRegisterCount = 1
Constant ThreadidingroupRegisterComponents.
public const int ThreadidingroupRegisterComponents = 3
Constant ThreadidingroupRegisterCount.
public const int ThreadidingroupRegisterCount = 1
Constant ThreadidRegisterComponents.
public const int ThreadidRegisterComponents = 3
Constant ThreadidRegisterCount.
public const int ThreadidRegisterCount = 1
Constant ThreadLocalTempRegisterPool.
public const int ThreadLocalTempRegisterPool = 16384
Constant UnorderedAccessViewSlotCount.
public const int UnorderedAccessViewSlotCount = 8
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)
startSlot intnumUAVs intunorderedAccessViewsOut UnorderedAccessView[]Gets an array of views for an unordered resource.
public UnorderedAccessView[] GetUnorderedAccessViews(int startSlot, int count)
startSlot intIndex of the first element in the zero-based array to return (ranges from 0 to D3D11_PS_CS_UAV_REGISTER_COUNT - 1).
count intNumber of views to get (ranges from 0 to D3D11_PS_CS_UAV_REGISTER_COUNT - StartSlot).
Sets an array of views for an unordered resource.
public void SetUnorderedAccessView(int startSlot, UnorderedAccessView unorderedAccessView, int uavInitialCount)
startSlot intIndex of the first element in the zero-based array to begin setting.
unorderedAccessView UnorderedAccessViewA reference to an UnorderedAccessView references to be set by the method.
uavInitialCount intAn 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.
Sets an array of views for an unordered resource.
public void SetUnorderedAccessView(int startSlot, UnorderedAccessView unorderedAccessView)
startSlot intIndex of the first element in the zero-based array to begin setting.
unorderedAccessView UnorderedAccessViewA reference to an UnorderedAccessView references to be set by the method.
Sets an array of views for an unordered resource.
public void SetUnorderedAccessViews(int startSlot, UnorderedAccessView[] unorderedAccessViews, int[] uavInitialCounts)
startSlot intIndex 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.
Sets an array of views for an unordered resource.
public void SetUnorderedAccessViews(int startSlot, params UnorderedAccessView[] unorderedAccessViews)
startSlot intIndex 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.
Performs an explicit conversion from System.IntPtr to ComputeShaderStage.
public static explicit operator ComputeShaderStage(IntPtr nativePointer)
nativePointer System.IntPtr