VR-Engage  2.2
Loading...
Searching...
No Matches
font.h
Go to the documentation of this file.
1/******************************************************************************
2** Copyright (c) 2025 MAK Technologies
3** All rights reserved.
4******************************************************************************/
5
6//! \file font.h
7//! \brief Defines Lua bindings for font handling in VREngage
8//!
9//! This file contains the function for registering font-related functionality with Lua.
10//! It allows Lua scripts to create and manipulate text fonts for rendering in the VREngage
11//! system, providing access to font creation, sizing, and styling operations.
12
13#pragma once
14
16
17struct lua_State;
18
19namespace makVre
20{
21//! \brief Registers font manipulation functions with a Lua state
22//! \param L Pointer to the Lua state to register with
23//! \return Number of values pushed onto the Lua stack
24//!
25//! This function registers font manipulation functions with the specified Lua state.
26//! It creates a Font table in Lua with functions for creating and manipulating
27//! text fonts for rendering in the VREngage system.
29} // namespace makVre
Defines export macros for the vreLuaBindings library.
#define VRELUABINDING_DLL
Export/import macro for non-Windows platforms.
Definition export.h:37
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
int VRELUABINDING_DLL luaopen_Font(lua_State *L)
Registers font manipulation functions with a Lua state.