[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct3D11.ComputeShader

Class ComputeShader

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

ID3D11ComputeShader

[Guid("4f5b196e-c2bd-495e-bd01-1fded38e4969")]
public class ComputeShader : DeviceChild, IDisposable, IUnknown
Inheritance
object
ComputeShader
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

ComputeShader(IntPtr)

Initializes a new instance of the ComputeShader class.

public ComputeShader(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Methods

Create(Device, byte[], ClassLinkage)

Initializes a new instance of the ComputeShader class.

public static ComputeShader Create(Device device, byte[] shaderBytecode, ClassLinkage linkage = null)

Parameters

device Device

The device used to create the shader.

shaderBytecode byte[]

The compiled shader bytecode.

linkage ClassLinkage

A dynamic class linkage interface.

Returns

ComputeShader

Operators

explicit operator ComputeShader(IntPtr)

Performs an explicit conversion from System.IntPtr to ComputeShader.

public static explicit operator ComputeShader(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

ComputeShader