[]
ID3D11GeometryShader
[Guid("38325b96-effb-4022-ba02-2e795b70275c")]
public class GeometryShader : DeviceChild, IDisposable, IUnknown
Initializes a new instance of the GeometryShader class.
public GeometryShader(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
Constant StreamOutputBufferSlotCount.
public const int StreamOutputBufferSlotCount = 4
Constant StreamOutputNoRasterizedStream.
public const int StreamOutputNoRasterizedStream = -1
Constant StreamOutputOutputComponentCount.
public const int StreamOutputOutputComponentCount = 128
Constant StreamOutputStreamCount.
public const int StreamOutputStreamCount = 4
Initializes a new instance of the GeometryShader class.
public static GeometryShader Create(Device device, byte[] shaderBytecode, ClassLinkage linkage = null)
device
DeviceThe device used to create the shader.
shaderBytecode
byte[]The compiled shader bytecode.
linkage
ClassLinkageA dynamic class linkage interface.
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)
device
DeviceThe 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
intThe index number of the stream to be sent to the rasterizer stage. Set to NoRasterizedStream if no stream is to be rasterized.
linkage
ClassLinkageA dynamic class linkage interface.
Performs an explicit conversion from System.IntPtr to GeometryShader.
public static explicit operator GeometryShader(IntPtr nativePointer)
nativePointer
System.IntPtr