Bewerken

Delen via


D3D10DDIARG_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT structure (d3d10umddi.h)

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

Syntax

typedef struct D3D10DDIARG_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT {
  [in] const UINT                                        *pShaderCode;
  [in] const D3D10DDIARG_STREAM_OUTPUT_DECLARATION_ENTRY *pOutputStreamDecl;
  [in] UINT                                              NumEntries;
  [in] UINT                                              StreamOutputStrideInBytes;
} D3D10DDIARG_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT;

Members

[in] pShaderCode

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

[in] pOutputStreamDecl

An array of D3D10DDIARG_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] StreamOutputStrideInBytes

The size, in bytes, from one vertex to the next vertex.

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header d3d10umddi.h (include D3d10umddi.h)

See also

CalcPrivateGeometryShaderWithStreamOutput

CreateGeometryShaderWithStreamOutput

D3D10DDIARG_STREAM_OUTPUT_DECLARATION_ENTRY