MeshDataBufferLayoutEntry structure

Represents information about a single entry in the buffer layout of a mesh.

Syntax


typedef struct MeshDataBufferLayoutEntry {
  BSTR            pName;
  UINT            numComponents;
  BOOL            isPosition;
  REGISTER_FORMAT format;
} MeshDataBufferLayoutEntry;

Members

pName

A COM string containing the name of the entry.

numComponents

The number of homogenous components (values) that make up this entry.

isPosition

true if the entry is a position; otherwise, false.

format

The data format of the entry (register). For more information, see the REGISTER_FORMAT enumeration.

Requirements

Header

Vspixengine.h

 

 

Community Additions

ADD
Show: