MCPcopy Create free account
hub / github.com/NazaraEngine/NazaraEngine / GetLevelCount

Method GetLevelCount

src/Nazara/Renderer/Texture.cpp:339–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337 }
338
339 UInt8 Texture::GetLevelCount() const
340 {
341 #if NAZARA_RENDERER_SAFE
342 if (!m_impl)
343 {
344 NazaraError("Texture must be valid");
345 return 0;
346 }
347 #endif
348
349 return m_impl->levelCount;
350 }
351
352 UInt8 Texture::GetMaxLevel() const
353 {

Callers 1

LoadFromImageMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected