[]
ID3D11ComputeShader
[Guid("4f5b196e-c2bd-495e-bd01-1fded38e4969")]
public class ComputeShader : DeviceChild, IDisposable, IUnknown
Initializes a new instance of the ComputeShader class.
public ComputeShader(IntPtr nativePtr)
nativePtr System.IntPtrThe native pointer.
Initializes a new instance of the ComputeShader class.
public static ComputeShader Create(Device device, byte[] shaderBytecode, ClassLinkage linkage = null)
device DeviceThe device used to create the shader.
shaderBytecode byte[]The compiled shader bytecode.
linkage ClassLinkageA dynamic class linkage interface.
Performs an explicit conversion from System.IntPtr to ComputeShader.
public static explicit operator ComputeShader(IntPtr nativePointer)
nativePointer System.IntPtr