ITextureAtlasBuilder.WithPowerOfTwo(bool) Method
Definition
Namespace: Brine2D.Rendering.TextureAtlas
Sets whether to use power-of-two dimensions for the atlas. Power-of-two textures are more compatible with older GPUs.
Parameters
usePowerOfTwo System.Boolean
True to use power-of-two dimensions \(default: true\).