![]() |
Public API Reference |
![]() |
Provides an interface for reading cell data. More...
#include <imesh/terrain2.h>
Public Member Functions | |
virtual csPtr < iTerrainCellFeederProperties > | CreateProperties ()=0 |
Create an object that implements iTerrainCellFeederProperties This object will be stored in the cell. | |
virtual bool | Load (iTerrainCell *cell)=0 |
Load cell data. | |
virtual bool | PreLoad (iTerrainCell *cell)=0 |
Start cell data preloading (in case of threaded/async loading). | |
virtual void | SetParameter (const char *param, const char *value)=0 |
Set feeder-dependent parameter. |
Provides an interface for reading cell data.
Definition at line 288 of file terrain2.h.
virtual csPtr<iTerrainCellFeederProperties> iTerrainDataFeeder::CreateProperties | ( | ) | [pure virtual] |
Create an object that implements iTerrainCellFeederProperties This object will be stored in the cell.
This function gets invoked at cells creation.
virtual bool iTerrainDataFeeder::Load | ( | iTerrainCell * | cell | ) | [pure virtual] |
Load cell data.
After the completion of this call the cell should have all necessary information.
cell | cell to load |
virtual bool iTerrainDataFeeder::PreLoad | ( | iTerrainCell * | cell | ) | [pure virtual] |
Start cell data preloading (in case of threaded/async loading).
This is triggered by TerrainSystem::PreLoadCells, which is either called by user or called automatically while rendering terrain.
cell | cell to start preloading for |
virtual void iTerrainDataFeeder::SetParameter | ( | const char * | param, |
const char * | value | ||
) | [pure virtual] |
Set feeder-dependent parameter.
param | parameter name |
value | parameter value |