Rigs of Rods 2026.01
Soft-body Physics Simulation
Loading...
Searching...
No Matches
Public Member Functions
AngelOgre::TextureUnitState Class Reference

Description

A texture layer of a Pass.

Binding of Ogre::TextureUnitState.

Remarks
Obtain one with Pass::getTextureUnitStates().

Definition at line 15 of file AngelOgre_TextureUnitState.h.

Public Member Functions

const string & getName () const
 
void setTexture (const TexturePtr &in tex)
 
const TexturePtr & _getTexturePtr () const
 

Member Function Documentation

◆ _getTexturePtr()

const TexturePtr & AngelOgre::TextureUnitState::_getTexturePtr ( ) const

Returns the texture used by this unit (loading it if needed).

◆ getName()

const string & AngelOgre::TextureUnitState::getName ( ) const

Name of the texture unit (may be empty).

◆ setTexture()

void AngelOgre::TextureUnitState::setTexture ( const TexturePtr &in  tex)

Sets the texture used by this unit.


The documentation for this class was generated from the following file: