Scene

Represents a Scene with Models

Constructors

this
this(string name)
Undocumented in source.

Members

Functions

addModel
size_t addModel(Model model)
Undocumented in source. Be warned that the author may not have intended to support it.
addShader
void addShader(string shaderName, ShaderProgram shader)
Undocumented in source. Be warned that the author may not have intended to support it.
addTexture
void addTexture(string textureName, Texture texture)
Undocumented in source. Be warned that the author may not have intended to support it.
removeModel
void removeModel(size_t modelId)
Undocumented in source. Be warned that the author may not have intended to support it.
removeShader
void removeShader(string shaderName)
Undocumented in source. Be warned that the author may not have intended to support it.
removeTexture
void removeTexture(string textureName)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

isRendering
bool isRendering;
Undocumented in source.
models
Model[size_t] models;
Undocumented in source.
name
string name;
Undocumented in source.
shaders
ShaderProgram[string] shaders;
Undocumented in source.
textures
Texture[string] textures;
Undocumented in source.

Meta