Skyline Lua API  Version 1.0
Lua Script Reference for Skyline Game Engine.
LUA_API_Resource.h
Go to the documentation of this file.
1 // | _ ____ __ _
2 // | / \ _ _ _ __ __ _/ ___| ___ / _| |_
3 // | / _ \| | | | '__/ _` \___ \ / _ \| |_| __|
4 // | / ___ \ |_| | | | (_| |___) | (_) | _| |_
5 // | /_/ \_\__,_|_| \__,_|____/ \___/|_| \__|
6 // |
7 // | Aurasoft UK 2008 - 2018 http://www.aurasoft.co.uk
8 // |
9 // | Skyline Game Engine Lua API Documentation
10 // |
11 // | This file belongs to Aurasoft UK for the Skyline Game Engine of all versions.
12 // | This file is not for use in any other software that is not owned by Aurasoft UK and cannot be used by any other
13 // | person outside of the Skyline Game Engine development team.
14 // |
15 // | © Copyright - Aurasoft UK & Skyline Game Engine 2008 - 2018
16 // |
17 
18 // SKYLINE LUA CLASS FOR API DOCUMENTATION
19 
27 class resource
28 {
29 public:
30 
49  void prepareMesh( string meshName );
50 
70  void prepareMaterial( string materialName );
71 
94  void preparePreset( string presetName );
95 };
void preparePreset(string presetName)
Preload a preset and all associated resources such as meshes, skeletons, textures and material/ shade...
Definition: LUA_API_Resource.h:27
void prepareMaterial(string materialName)
Preload a material in the loading stages of a game before using or calling it. This will stop any pop...
void prepareMesh(string meshName)
Preload a mesh in the loading stages of a game before spawning. This will stop any pops as resources ...