[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct3D11.DomainShader

Class DomainShader

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

ID3D11DomainShader

[Guid("f582c508-0f36-490c-9977-31eece268cfa")]
public class DomainShader : DeviceChild, IDisposable, IUnknown
Inheritance
object
DomainShader
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

DomainShader(IntPtr)

Initializes a new instance of the DomainShader class.

public DomainShader(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Methods

Create(Device, byte[], ClassLinkage)

Initializes a new instance of the DomainShader class.

public static DomainShader 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

DomainShader

Operators

explicit operator DomainShader(IntPtr)

Performs an explicit conversion from System.IntPtr to DomainShader.

public static explicit operator DomainShader(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

DomainShader