Rigs of Rods 2026.01
Soft-body Physics Simulation
Loading...
Searching...
No Matches
AngelOgre_TextureUnitState.h
Go to the documentation of this file.
1
2namespace AngelOgre { // Dummy namespace, just to distinguish AngelScript from C++
3
16 {
17 public:
19 const string& getName() const;
20
22 void setTexture(const TexturePtr&in tex);
23
25 const TexturePtr& _getTexturePtr() const;
26 };
27
30
31} // namespace AngelOgre (dummy, just to distinguish AngelScript from C++)
32
A shared pointer to a texture.
void setTexture(const TexturePtr &in tex)
Sets the texture used by this unit.
const TexturePtr & _getTexturePtr() const
Returns the texture used by this unit (loading it if needed).
const string & getName() const
Name of the texture unit (may be empty).
OGRE-AngelScript bindings; Actually named Ogre in the scripts, just changed for docs to separate thin...