Resources group


Resources::Font Represents a font.

Resources::Texture Represents a texture.

Global functions

Resources::Font@ Resources::GetFont(const string&in filename, float size = 16.0f, int minChars = - 1, int maxChars = - 1) Get a font from the user fonts folder or the main fonts folder.

Resources::Texture@ Resources::GetTexture(const string&in filename) Load a texture from the plugin folder root, the user textures folder, or the main textures folder.

Resources::Texture@ Resources::GetTexture(MemoryBuffer&in buffer) Load a texture from the given memory buffer.