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

Method CanAutoGenerateMipmaps

GTE/Graphics/GL46/GL46Texture1.cpp:49–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

DisableMethod · 0.45

Calls 2

HasMipmapsMethod · 0.80

Tested by

no test coverage detected