glui.utils

Members

Aliases

BasicNodeParamLength
alias BasicNodeParamLength = Alias!5
Undocumented in source.
simpleConstructor
alias simpleConstructor(alias T, Parent, alias fun = "a") = simpleConstructor!(T!Parent, fun)

Create a simple template node constructor for declarative usage.

Enums

isSimpleConstructor
eponymoustemplate isSimpleConstructor(T)
Undocumented in source.
simpleConstructor
eponymoustemplate simpleConstructor(T, alias fun = "a")

Create a simple node constructor for declarative usage.

Functions

contains
bool contains(Rectangle rectangle, Vector2 point)

Check if the rectangle contains a point.

hidpiScale
Vector2 hidpiScale()

Get the current HiDPI scale. Returns Vector2(1, 1) if HiDPI is off.

Structs

SimpleConstructor
struct SimpleConstructor(T, alias fun = "a")
Undocumented in source.

Templates

BasicNodeParam
template BasicNodeParam(int index)
Undocumented in source.
StaticFieldNames
template StaticFieldNames(T)

Get names of static fields in the given object.

simpleConstructor
template simpleConstructor(alias T, alias Parent, alias fun = "a")

Create a simple template node constructor for declarative usage.

Meta