oa::GlyphBuffer

GlyphBuffer class in the OA Ui public surface.

Public Methods

oa::U32 oa::GlyphBuffer::bindlessIndex()
oa::U32 oa::GlyphBuffer::capacity()
oa::U32 oa::GlyphBuffer::count()
bool oa::GlyphBuffer::isReady()
bool oa::GlyphBuffer::isValid()
oa::Status oa::GlyphBuffer::markConsumed(const oa::Event & inCompletion)
oa::Status oa::GlyphBuffer::upload(oa::Span<const GlyphInstance> inGlyphs)

Static Public Methods

static oa::Result<GlyphBuffer> oa::GlyphBuffer::createHostUpload(oa::Engine & inRuntime, oa::U32 inCapacity)

Constructor & Destructor Documentation

oa::GlyphBuffer::GlyphBuffer()
No public source comment is attached to this declaration.
void oa::GlyphBuffer::~GlyphBuffer()
No public source comment is attached to this declaration.

Public Method Documentation

oa::U32 oa::GlyphBuffer::bindlessIndex()
No public source comment is attached to this declaration.

Returns

oa::U32

The declared return value.

oa::U32 oa::GlyphBuffer::capacity()
No public source comment is attached to this declaration.

Returns

oa::U32

The declared return value.

oa::U32 oa::GlyphBuffer::count()
No public source comment is attached to this declaration.

Returns

oa::U32

The declared return value.

bool oa::GlyphBuffer::isReady()
No public source comment is attached to this declaration.

Returns

bool

The declared return value.

bool oa::GlyphBuffer::isValid()
No public source comment is attached to this declaration.

Returns

bool

The declared return value.

oa::Status oa::GlyphBuffer::markConsumed( const oa::Event & inCompletion )
No public source comment is attached to this declaration.

Parameters

inCompletion
const oa::Event &

Returns

oa::Status

The declared return value.

oa::Status oa::GlyphBuffer::upload( oa::Span<const GlyphInstance> inGlyphs )
No public source comment is attached to this declaration.

Parameters

inGlyphs
oa::Span<const GlyphInstance>

Returns

oa::Status

The declared return value.

static oa::Result<GlyphBuffer> oa::GlyphBuffer::createHostUpload( oa::Engine & inRuntime, oa::U32 inCapacity )
No public source comment is attached to this declaration.

Parameters

inRuntime
oa::Engine &

inCapacity
oa::U32

Returns

oa::Result<GlyphBuffer>

The declared return value.