Rigs of Rods 2026.01
Soft-body Physics Simulation
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes
Forests::ImpostorTextureResourceLoader Class Reference

Description

Responsible for making sure that the texture is rerendered when the texture resource needs to be reloaded.

Definition at line 307 of file ImpostorPage.h.

+ Inheritance diagram for Forests::ImpostorTextureResourceLoader:

Public Member Functions

 ImpostorTextureResourceLoader (ImpostorTexture &impostorTexture)
 
virtual void loadResource (Ogre::Resource *resource)
 

Protected Attributes

ImpostorTexture & texture
 

Constructor & Destructor Documentation

◆ ImpostorTextureResourceLoader()

ImpostorTextureResourceLoader::ImpostorTextureResourceLoader ( ImpostorTexture &  impostorTexture)

Ctor.

Parameters
renderContextThe ImpostorTexture to which this instance belongs.

Definition at line 361 of file ImpostorPage.cpp.

Member Function Documentation

◆ loadResource()

void ImpostorTextureResourceLoader::loadResource ( Ogre::Resource *  resource)
virtual

At load time the texture will be rerendered.

Parameters
resource

Definition at line 366 of file ImpostorPage.cpp.

Field Documentation

◆ texture

ImpostorTexture& Forests::ImpostorTextureResourceLoader::texture
protected

Definition at line 323 of file ImpostorPage.h.


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