InputLayoutStruct structure

Represents the input layout fields of a vertex buffer, one per field in the vertex buffer.

Syntax


typedef struct InputLayoutStruct {
  BSTR SemanticName;
  UINT SemanticIndex;
  UINT Format;
  UINT InputSlot;
  UINT AlignedByteOffset;
  UINT InputSlotClass;
  UINT InstanceDataStepRate;
} InputLayoutStruct;

Members

SemanticName

A COM string containing the name of the associated semantic.

SemanticIndex

The index of the associated semantic.

Format

The format of the field. For more information see the DXGI_FORMAT enumeration.

InputSlot

The associated input slot.

AlignedByteOffset
InputSlotClass
InstanceDataStepRate

Requirements

Header

Vspixengine.h

 

 

Community Additions

ADD
Show: