[]
        
(Showing Draft Content)

C1.Util.DX.Direct3D11.GeometryShader.Create

Create Method

Create(Device, byte[], ClassLinkage)

Initializes a new instance of the GeometryShader class.

Declaration
public static GeometryShader Create(Device device, byte[] shaderBytecode, ClassLinkage linkage = null)
Public Shared Function Create(device As Device, shaderBytecode As Byte(), Optional linkage As ClassLinkage = Nothing) As GeometryShader
Parameters
Type Name Description
Device device

The device used to create the shader.

byte[] shaderBytecode

The compiled shader bytecode.

ClassLinkage linkage

A dynamic class linkage interface.

Returns
Type Description
GeometryShader

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

Initializes a new instance of the GeometryShader class.

Declaration
public static GeometryShader Create(Device device, byte[] shaderBytecode, StreamOutputElement[] elements, int[] bufferedStrides, int rasterizedStream, ClassLinkage linkage = null)
Public Shared Function Create(device As Device, shaderBytecode As Byte(), elements As StreamOutputElement(), bufferedStrides As Integer(), rasterizedStream As Integer, Optional linkage As ClassLinkage = Nothing) As GeometryShader
Parameters
Type Name Description
Device device

The device used to create the shader.

byte[] shaderBytecode

The compiled shader bytecode.

StreamOutputElement[] elements

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

int[] bufferedStrides

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

int rasterizedStream

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

ClassLinkage linkage

A dynamic class linkage interface.

Returns
Type Description
GeometryShader