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

Method CanAutoGenerateMipmaps

GTE/Graphics/GL46/GL46Texture2.cpp:50–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

HasMipmapsMethod · 0.80
IsSharedMethod · 0.80

Tested by

no test coverage detected