MCPcopy Create free account
hub / github.com/TheRealMJP/BakingLab / IndexBufferFormat

Method IndexBufferFormat

SampleFramework11/v1.02/Graphics/Model.h:101–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99
100 IndexType IndexBufferType() const { return indexType; }
101 DXGI_FORMAT IndexBufferFormat() const { return indexType == IndexType::Index32Bit ? DXGI_FORMAT_R32_UINT : DXGI_FORMAT_R16_UINT; }
102 uint32 IndexSize() const { return indexType == IndexType::Index32Bit ? 4 : 2; }
103
104 const uint8* Vertices() const { return vertices.data(); }

Callers 3

ExtractBakePointsFunction · 0.80
RenderMainPassMethod · 0.80
RenderDepthMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected