[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct3D11.VertexShader

Class VertexShader

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

ID3D11VertexShader

[Guid("3b301d64-d678-4289-8897-22f8928b72f3")]
public class VertexShader : DeviceChild, IDisposable, IUnknown
Inheritance
object
VertexShader
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

VertexShader(IntPtr)

Initializes a new instance of the VertexShader class.

public VertexShader(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Methods

Create(Device, byte[], ClassLinkage)

Initializes a new instance of the VertexShader class.

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

VertexShader

Operators

explicit operator VertexShader(IntPtr)

Performs an explicit conversion from System.IntPtr to VertexShader.

public static explicit operator VertexShader(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

VertexShader