MCPcopy Create free account
hub / github.com/Tencent/tgfx / AtlasConfig

Method AtlasConfig

src/core/Atlas.cpp:285–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283}
284
285AtlasConfig::AtlasConfig(int maxTextureSize) {
286 RGBADimensions.set(std::min(MaxTextureSize, maxTextureSize),
287 std::min(MaxTextureSize, maxTextureSize));
288}
289
290ISize AtlasConfig::atlasDimensions(MaskFormat maskFormat) const {
291 if (maskFormat == MaskFormat::A8) {

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected