[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct3D11.GeometryShader

Class GeometryShader

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

ID3D11GeometryShader

[Guid("38325b96-effb-4022-ba02-2e795b70275c")]
public class GeometryShader : DeviceChild, IDisposable, IUnknown
Inheritance
object
GeometryShader
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

GeometryShader(IntPtr)

Initializes a new instance of the GeometryShader class.

public GeometryShader(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Fields

StreamOutputBufferSlotCount

Constant StreamOutputBufferSlotCount.

public const int StreamOutputBufferSlotCount = 4

Field Value

int

StreamOutputNoRasterizedStream

Constant StreamOutputNoRasterizedStream.

public const int StreamOutputNoRasterizedStream = -1

Field Value

int

StreamOutputOutputComponentCount

Constant StreamOutputOutputComponentCount.

public const int StreamOutputOutputComponentCount = 128

Field Value

int

StreamOutputStreamCount

Constant StreamOutputStreamCount.

public const int StreamOutputStreamCount = 4

Field Value

int

Methods

Create(Device, byte[], ClassLinkage)

Initializes a new instance of the GeometryShader class.

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

GeometryShader

Create(Device, byte[], StreamOutputElement[], int[], int, ClassLinkage)

Initializes a new instance of the GeometryShader class.

public static GeometryShader Create(Device device, byte[] shaderBytecode, StreamOutputElement[] elements, int[] bufferedStrides, int rasterizedStream, ClassLinkage linkage = null)

Parameters

device Device

The device used to create the shader.

shaderBytecode byte[]

The compiled shader bytecode.

elements StreamOutputElement[]

An array of StreamOutputElement instances describing the layout of the output buffers.

bufferedStrides int[]

An array of buffer strides; each stride is the size of an element for that buffer.

rasterizedStream int

The index number of the stream to be sent to the rasterizer stage. Set to NoRasterizedStream if no stream is to be rasterized.

linkage ClassLinkage

A dynamic class linkage interface.

Returns

GeometryShader

Operators

explicit operator GeometryShader(IntPtr)

Performs an explicit conversion from System.IntPtr to GeometryShader.

public static explicit operator GeometryShader(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

GeometryShader