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

Method GetOffset

GTE/Graphics/VertexFormat.cpp:97–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97uint32_t VertexFormat::GetOffset(int32_t i) const
98{
99 LogAssert(
100 0 <= i && i < mNumAttributes,
101 "Invalid index " + std::to_string(i) + ".");
102
103 return mAttributes[i].offset;
104}
105
106

Callers 9

TerrainMethod · 0.45
GetChannelMethod · 0.45
ParticlesMethod · 0.45
IsValidMethod · 0.45
GetModelSpacePlanesMethod · 0.45
SetObjectMethod · 0.45
UpdatePointMotionMethod · 0.45
SetObjectMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected