[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct2D.ComputeInformation

Class ComputeInformation

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

ID2D1ComputeInfo

[Guid("5598b14b-9fd7-48b7-9bdb-8f0964eb38bc")]
public class ComputeInformation : RenderInformation, IDisposable, IUnknown
Inheritance
ComputeInformation
Implements
Inherited Members

Constructors

ComputeInformation(IntPtr)

Initializes a new instance of the ComputeInformation class.

public ComputeInformation(IntPtr nativePtr)

Parameters

nativePtr IntPtr

The native pointer.

Methods

SetComputeShader(Guid)

HRESULT ID2D1ComputeInfo::SetComputeShader([In] const GUID& shaderId)

public void SetComputeShader(Guid shaderId)

Parameters

shaderId Guid

SetComputeShaderConstantBuffer(IntPtr, int)

HRESULT ID2D1ComputeInfo::SetComputeShaderConstantBuffer([In, Buffer] const void* buffer,[In] unsigned int bufferCount)

public void SetComputeShaderConstantBuffer(IntPtr buffer, int bufferCount)

Parameters

buffer IntPtr
bufferCount int

SetConstantBuffer(DataStream)

Sets the constant buffer data from a DataStream.

public void SetConstantBuffer(DataStream dataStream)

Parameters

dataStream DataStream

The DataStream that contains the constant buffer data

SetConstantBuffer<T>(T)

Sets the constant buffer data from a struct value.

public void SetConstantBuffer<T>(T value) where T : struct

Parameters

value T

Value of the constant buffer

Type Parameters

T

Type of the constant buffer

SetConstantBuffer<T>(ref T)

Sets the constant buffer data from a struct value.

public void SetConstantBuffer<T>(ref T value) where T : struct

Parameters

value T

Value of the constant buffer

Type Parameters

T

Type of the constant buffer

SetResourceTexture(int, ResourceTexture)

HRESULT ID2D1ComputeInfo::SetResourceTexture([In] unsigned int textureIndex,[In] ID2D1ResourceTexture* resourceTexture)

public void SetResourceTexture(int textureIndex, ResourceTexture resourceTexture)

Parameters

textureIndex int
resourceTexture ResourceTexture

Operators

explicit operator ComputeInformation(IntPtr)

Performs an explicit conversion from IntPtr to ComputeInformation.

public static explicit operator ComputeInformation(IntPtr nativePointer)

Parameters

nativePointer IntPtr

Returns

ComputeInformation