class SpriteVectorPathAllocation

Provides information about a particular sprite vector path image allocated within a texture atlas.

Public

Methods

staticCreate

static SPtr<SpriteVectorPathAllocation> Create(const WeakSPtr<SpriteImageType> &owner, const GUIVectorSpriteAtlasAllocation &vectorSpriteAtlasAllocation)

Creates a new sprite vector path allocation.

Protected

Constructors

SpriteVectorPathAllocation

SpriteVectorPathAllocation(const WeakSPtr<SpriteImageType> &owner, const GUIVectorSpriteAtlasAllocation &vectorSpriteAtlasAllocation)

Methods

CreateRenderProxy

SPtr<render::RenderProxy> CreateRenderProxy() const override

Creates an object that contains render thread specific data and methods for this object.

Can be null if such object is not required.

CreateRenderProxySyncPacket

RenderProxySyncPacket *CreateRenderProxySyncPacket(FrameAllocator &allocator, u32 flags) override

Creates a data packet that will be used for syncing the core object with it's render proxy.

Caller must free the retrieved packet using the provided allocator when done using it.

Private

Fields

mVectorSpriteAtlasAllocationHandle

SPtr<GUIVectorSpriteAtlasAllocationHandle> mVectorSpriteAtlasAllocationHandle

Allocation handle in the vector path atlas.