struct
GUIBackgroundSpriteCreateInformation
Structure used for initializing GUIBackgroundSprite.
Public
Constructors
GUIBackgroundSpriteCreateInformation
GUIBackgroundSpriteCreateInformation(const Size2UI &size, const GUIStyleSheetRules &rules, const Color &tint, u64 batchId)
Fields
Offset
Vector2I Offset
Offset relative to the parent GUI element's content area to place the sprite at.
Depth
u32 Depth
Depth at which to render the sprite.
Higher depth means a sprite is rendered behind sprites with lower depth.
BatchId
u64 BatchId
ID that specifies if the sprite is allowed to be batched with other sprites.
Only sprites with the same batch ID can be batched.