ID2D1ComputeInfo

<summary> A transform uses this interface to specify how to render a particular pass using compute shader. </summary>

Members

Functions

SetComputeShader
HRESULT SetComputeShader(REFGUID shaderId)

<summary> Set the shader instructions for this transform. </summary>

SetComputeShaderConstantBuffer
HRESULT SetComputeShaderConstantBuffer(const(BYTE)* buffer, UINT32 bufferCount)

<summary> Set the constant buffer for this transform. </summary>

SetResourceTexture
HRESULT SetResourceTexture(UINT32 textureIndex, ID2D1ResourceTexture resourceTexture)

<summary> Sets the resource texture corresponding to the given shader texture index. </summary>

Inherited Members

From ID2D1RenderInfo

SetInputDescription
HRESULT SetInputDescription(UINT32 inputIndex, D2D1_INPUT_DESCRIPTION inputDescription)

<summary> Sets options for sampling the specified image input </summary>

SetOutputBuffer
HRESULT SetOutputBuffer(D2D1_BUFFER_PRECISION bufferPrecision, D2D1_CHANNEL_DEPTH channelDepth)

<summary> Controls the output precision and channel-depth for the associated transform. </summary>

SetCached
void SetCached(BOOL isCached)

<summary> Controls whether the output of the associated transform is cached. </summary>

SetInstructionCountHint
void SetInstructionCountHint(UINT32 instructionCount)

<summary> Provides a hint of the approximate shader instruction count per pixel. If provided, it may improve performance when processing large images. Instructions should be counted multiple times if occurring within loops. </summary>

Meta