KROYSDOCS
HomeWhat's newv0.1.0
C/C++ SDK / C ABI · Editor / KroysDrawArgs

KroysDrawArgs

Passed to every draw callback (panels, settings pages, viewport tools).

Kindstruct
Headerkroys/kroys_plugin.h
Members4
DECLARATION

Declaration

Declared in kroys/kroys_plugin.h.

kroys_plugin.h
typedef struct KroysDrawArgs { ... } KroysDrawArgs;
REFERENCE

Members

Fields
#uint32_t structSize;

Size of this struct as the writer compiled it (sizeof); the reader uses it to detect members appended by later minor versions.

field
#float deltaSeconds;

Time since the previous frame.

field
#float width;

content region

field
#float height;

Content region height.

field
Members
uint32_t structSize;
float deltaSeconds;
float width;
float height;

KroysEngine 0.1.0 documentation, built from the engine repository by Tools/BuildDocsSite.py.