#include <HudSvgAtlas.hpp>
◆ allocate()
◆ createGpuResources()
| bool HudSvgAtlas::createGpuResources |
( |
| ) |
|
|
nodiscardprivate |
◆ init()
| bool HudSvgAtlas::init |
( |
SDL_GPUDevice * | device, |
|
|
std::filesystem::path | assetDir ) |
◆ quit()
| void HudSvgAtlas::quit |
( |
| ) |
|
◆ resetPacking()
| void HudSvgAtlas::resetPacking |
( |
| ) |
|
|
private |
◆ sampler()
| SDL_GPUSampler * HudSvgAtlas::sampler |
( |
| ) |
const |
|
inlinenodiscard |
◆ sprite()
◆ texture()
| SDL_GPUTexture * HudSvgAtlas::texture |
( |
| ) |
const |
|
inlinenodiscard |
◆ uploadSlot()
◆ assetDir_
| std::filesystem::path HudSvgAtlas::assetDir_ |
|
private |
◆ cursorX_
| int HudSvgAtlas::cursorX_ = 0 |
|
private |
◆ cursorY_
| int HudSvgAtlas::cursorY_ = 0 |
|
private |
◆ device_
| SDL_GPUDevice* HudSvgAtlas::device_ = nullptr |
|
private |
◆ kAtlasSize
| int HudSvgAtlas::kAtlasSize = 4096 |
|
staticconstexprprivate |
◆ kPadding
| int HudSvgAtlas::kPadding = 2 |
|
staticconstexprprivate |
◆ rowH_
| int HudSvgAtlas::rowH_ = 0 |
|
private |
◆ sampler_
| SDL_GPUSampler* HudSvgAtlas::sampler_ = nullptr |
|
private |
◆ sprites_
◆ texture_
| SDL_GPUTexture* HudSvgAtlas::texture_ = nullptr |
|
private |
The documentation for this class was generated from the following files: