Bewerken

Delen via


D3D11DDIARG_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT structure (d3d10umddi.h)

The D3D11DDIARG_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT structure describes the geometry shader with stream output to create.

Syntax

typedef struct D3D11DDIARG_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT {
  [in] const UINT                                        *pShaderCode;
  [in] const D3D11DDIARG_STREAM_OUTPUT_DECLARATION_ENTRY *pOutputStreamDecl;
  [in] UINT                                              NumEntries;
  [in] const UINT                                        *BufferStridesInBytes;
  [in] UINT                                              NumStrides;
  [in] UINT                                              RasterizedStream;
} D3D11DDIARG_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT;

Members

[in] pShaderCode

An array of CONST UINT tokens that make up the geometry shader code.

[in] pOutputStreamDecl

An array of D3D11DDIARG_STREAM_OUTPUT_DECLARATION_ENTRY structures that describes the stream output for the geometry shader.

[in] NumEntries

The number of elements in that array that the pOutputStreamDecl member specifies.

[in] BufferStridesInBytes

An array of strides (bytes from one vertex to the next vertex).

[in] NumStrides

The number of strides in the array that the BufferStridesInBytes member specifies.

[in] RasterizedStream

A value that identifies the rasterized stream.

Requirements

Requirement Value
Minimum supported client D3D11DDIARG_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT is supported beginning with the Windows 7 operating system.
Header d3d10umddi.h (include D3d10umddi.h)

See also

CalcPrivateGeometryShaderWithStreamOutput

CreateGeometryShaderWithStreamOutput

D3D11DDIARG_STREAM_OUTPUT_DECLARATION_ENTRY