MCPcopy Create free account
hub / github.com/davideberly/GeometricTools / GetType

Method GetType

GTE/Graphics/VertexFormat.cpp:88–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88DFType VertexFormat::GetType(int32_t i) const
89{
90 LogAssert(
91 0 <= i && i < mNumAttributes,
92 "Invalid index " + std::to_string(i) + ".");
93
94 return mAttributes[i].type;
95}
96
97uint32_t VertexFormat::GetOffset(int32_t i) const
98{

Callers 14

TerrainMethod · 0.45
GetChannelMethod · 0.45
IsValidMethod · 0.45
SetComputeShaderMethod · 0.45
SetVertexShaderMethod · 0.45
SetPixelShaderMethod · 0.45
SetGeometryShaderMethod · 0.45
BindMethod · 0.45
UnbindMethod · 0.45
GetModelSpacePlanesMethod · 0.45
SetObjectMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected