cubos::engine::UIDrawList::Entry struct

Describes a draw commands and how it fits into the draw list carrying it.

Constructors, destructors, conversion operators

Entry(const Type& commandType) explicit
Constructs.
Entry(const Type& commandType, Command drawCommand, size_t dataOffset)
Constructs.

Public variables

const Type& type
Command type.
Command command
UI draw command.
size_t offset
Position of the command data in the draw list.

Function documentation

cubos::engine::UIDrawList::Entry::Entry(const Type& commandType) explicit

Constructs.

Parameters
commandType Command type.

cubos::engine::UIDrawList::Entry::Entry(const Type& commandType, Command drawCommand, size_t dataOffset)

Constructs.

Parameters
commandType Command type.
drawCommand UI draw command.
dataOffset Position of the command data in the draw list.