struct
GUIVectorSpriteAtlasAllocationHandle
Inherits:
std::enable_shared_from_this<GUIVectorSpriteAtlasAllocationHandle>
Manages lifetime of an allocation in a sprite atlas.
When this object goes out of scope the atlas will be notified so it may free the allocation.
Public
Constructors
GUIVectorSpriteAtlasAllocationHandle
GUIVectorSpriteAtlasAllocationHandle(GUIVectorSpriteAtlas *owner, const UUID &vectorPathId, const TOptional<TreeTextureAtlasLayout::Allocation> &layoutAllocation, u32 textureId, const SPtr<render::VectorPathRenderable> &renderable)
Private
Methods
Fields
mOwner
GUIVectorSpriteAtlas *const mOwner
mVectorPathId
UUID mVectorPathId
mLayoutAllocation
const TOptional<TreeTextureAtlasLayout::Allocation> mLayoutAllocation
Allocation in the texture atlas layout, if allocated in the atlas.
If null, sprite is allocated as a unique texture.
mTextureId
const u32 mTextureId
mRenderable
const SPtr<render::VectorPathRenderable> mRenderable