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

Method CanAutoGenerateMipmaps

GTE/Graphics/GL46/GL46Texture2Array.cpp:51–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51bool GL46Texture2Array::CanAutoGenerateMipmaps() const
52{
53 auto texture = GetTexture();
54
55 return texture && texture->HasMipmaps() && texture->WantAutogenerateMipmaps();
56}
57
58void GL46Texture2Array::LoadTextureLevel(uint32_t item, uint32_t level, void const* data)
59{

Callers

nothing calls this directly

Calls 2

HasMipmapsMethod · 0.80

Tested by

no test coverage detected