MCPcopy Create free account
hub / github.com/cemyuksel/cyCodeBase / FixTextureAlphaToSampleMask

Method FixTextureAlphaToSampleMask

cyAlphaDistribution.h:176–182  ·  view source on GitHub ↗

Fixes the alpha values of all mipmap levels of an OpenGL texture, starting with the given level. If the texture does not contain semi-transparent regions, modifying the first level (level zero) is not advisable, since the original values might work better with magnification filtering. The number of alpha samples for alpha-to-coverage is obtained from the current OpenGL context.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected