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

Method GetType

src/Nazara/Renderer/Texture.cpp:435–446  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

433 }
434
435 ImageType Texture::GetType() const
436 {
437 #if NAZARA_RENDERER_SAFE
438 if (!m_impl)
439 {
440 NazaraError("Texture must be valid");
441 return ImageType_2D;
442 }
443 #endif
444
445 return m_impl->type;
446 }
447
448 unsigned int Texture::GetWidth(UInt8 level) const
449 {

Callers 4

ApplyMethod · 0.45
LoadFromImageMethod · 0.45
AttachTextureMethod · 0.45
EnsureStateUpdateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected