class SpriteGlyphAllocation

Public

Methods

staticCreate

static SPtr<SpriteGlyphAllocation> Create(const WeakSPtr<SpriteImageType> &owner, const TextureType &texture, const Area2 &uvRange, float sizeInPoints)

Creates a new sprite glyph allocation.

GetSizeInPoints

float GetSizeInPoints() const

Size of the allocated glyph in points.

Protected

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.