|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Configuration options for a SpriteAtlas. More...
#include <GREM/graphics/SpriteAtlas.hpp>
Public Attributes | |
| TextureFormat | internalFormat = TextureFormat::R8G8B8A8_SRGB |
| Internal texture format to use for the internal texture atlas. | |
| uint32_t | initialResolution = 128 |
| Initial width of the internal texture atlas, in pixels. | |
| uint32_t | padding = 0 |
| Empty space to reserve between sprite images, in pixels. | |
| uint32_t | alignment = 16 |
| Align padded sprites to a multiple of this number of pixels and limit the number of mip levels in the internal texture atlas such that a mipped texel never covers more than this width of pixels in the sprite atlas. | |
| TextureSamplerOptions | samplerOptions |
| Sampler options to use for the atlas texture. | |
Configuration options for a SpriteAtlas.
| TextureFormat grem::graphics::SpriteAtlasOptions::internalFormat = TextureFormat::R8G8B8A8_SRGB |
Internal texture format to use for the internal texture atlas.
| uint32_t grem::graphics::SpriteAtlasOptions::initialResolution = 128 |
Initial width of the internal texture atlas, in pixels.
| uint32_t grem::graphics::SpriteAtlasOptions::padding = 0 |
Empty space to reserve between sprite images, in pixels.
| uint32_t grem::graphics::SpriteAtlasOptions::alignment = 16 |
Align padded sprites to a multiple of this number of pixels and limit the number of mip levels in the internal texture atlas such that a mipped texel never covers more than this width of pixels in the sprite atlas.
| TextureSamplerOptions grem::graphics::SpriteAtlasOptions::samplerOptions |
Sampler options to use for the atlas texture.