IPipeLineStagesCallback::MeshDataVertCallback method

A callback that notifies the host of pipeline stages mesh information returned by the assocaited request.

Syntax

HRESULT MeshDataVertCallback(
   UINT                         numVertices,
   UINT                         numBufferLayoutEntries,
   MeshDataBufferLayoutEntry [] count1_entries,
   UINT                         stride,
   UINT                         numVBBytes,
   BYTE []                      count4_pVBData,
   UINT                         numIBBytes,
   BYTE []                      count6_pIBData,
   UINT                         indexSize,
   UINT                         IBOffset,
   UINT                         baseVertex,
   UINT                         minVertex,
   BOOL                         IBIndexesVB,
   UINT                         numIndices,
   UINT                         topology
);

Parameters

numVertices
The number of vertices in the results.

numBufferLayoutEntries
The number of buffer layout entries in the results.

count1_entries
The buffer layout entires. These describe the shader output signature.

stride
The size (stride) of an entire output chunk.

numVBBytes
The size of the vertex buffer in bytes.

count4_pVBData
The vertex buffer.

numIBBytes
The size of the index buffer in bytes.

count6_pIBData
The index buffer.

indexSize
The size of each index in bytes.

IBOffset
An offset into the index buffer that specifies where indices should start being used.

baseVertex
An offset into the vertex buffer that specifies where vertices should start being used.

minVertex

IBIndexesVB
true when the index buffer is used; otherwise false.

numIndices
The number of indices used.

topology
The topolology of the shader. This is not necessarily the same as the topology of the associated draw call.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Header

Vspixengine.h

See also

IPipeLineStagesCallback