Skip to content

AluraCanvasSpecification

#include "Saturn/Alura/AluraCanvas.h"

Specification to create an AluraCanvas.

struct AluraCanvasSpecification

Members (public)

// Pixel size of the canvas.
glm::vec2 Size{};

// Position of the canvas relative to the window top-left.
glm::vec2 Position{};

// Specify the main font for this canvas to use.
AssetID MasterFontAssetID = 0llu;

// Specify the main styling profile to be used, you don't need to have a styling profile asset
// as Alura will automatically default the style if no profile is specified.
AssetID StylingProfile = 0llu;

AluraCanvas AluraFont AluraStylingProfile