VR-Engage  2.2
Loading...
Searching...
No Matches
texture.h
Go to the documentation of this file.
1/******************************************************************************
2** Copyright (c) 2025 MAK Technologies
3** All rights reserved.
4******************************************************************************/
5
6//! \file texture.h
7//! \brief Defines Lua bindings for texture management functionality
8//!
9//! This file contains the function for registering texture management functionality
10//! with Lua. It allows Lua scripts to load, create, and manipulate textures in the
11//! VREngage system, enabling scripts to utilize image data for visual elements
12//! such as overlay displays, quads, and other textured surfaces.
13
14#pragma once
15
17
18struct lua_State;
19
20namespace makVre
21{
22//! \brief Registers texture management functions with a Lua state
23//! \param L Pointer to the Lua state to register with
24//! \return Number of values pushed onto the Lua stack
25//!
26//! This function registers texture management functionality with the specified
27//! Lua state. It creates a Texture table in Lua with functions for loading,
28//! creating, and manipulating textures in the VREngage system. Textures can be
29//! loaded from image files or created dynamically, and they can be applied to
30//! various visual elements such as quads, overlays, and other renderable objects.
32} // 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_Texture(lua_State *L)
Registers texture management functions with a Lua state.