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

Method CanAutoGenerateMipmaps

GTE/Graphics/GL46/GL46Texture1Array.cpp:50–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

HasMipmapsMethod · 0.80

Tested by

no test coverage detected