[]
Initializes a new instance of the GeometryShader class.
public static GeometryShader Create(Device device, byte[] shaderBytecode, ClassLinkage linkage = null)
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. |
Type | Description |
---|---|
GeometryShader |
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)
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. |
Type | Description |
---|---|
GeometryShader |