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

Method GetIndex

GTE/Graphics/Texture.cpp:101–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101uint32_t Texture::GetIndex(uint32_t item, uint32_t level) const
102{
103 LogAssert(item < mNumItems && level < mNumLevels, "Invalid input.");
104 return mNumLevels * item + level;
105}
106
107Texture::Subresource Texture::GetSubresource(uint32_t index) const
108{

Callers 14

TerrainMethod · 0.45
GetChannelMethod · 0.45
ParticlesMethod · 0.45
IsValidMethod · 0.45
GetModelSpacePlanesMethod · 0.45
SetObjectMethod · 0.45
UpdatePointMotionMethod · 0.45
GetGeometricChannelMethod · 0.45
SetObjectMethod · 0.45
UpdateMethod · 0.45
CopyCpuToGpuMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected