OGRE-Next 4.0.0unstable
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
Ogre::VctMaterial Class Reference

#include <OgreVctMaterial.h>

+ Inheritance diagram for Ogre::VctMaterial:

Classes

struct  DatablockConversionResult
 

Public Member Functions

 VctMaterial (IdType id, VaoManager *vaoManager, CompositorManager2 *compositorManager, TextureGpuManager *textureGpuManager)
 
 ~VctMaterial ()
 
DatablockConversionResult addDatablock (HlmsDatablock *datablock)
 Adds a datablock, if not already cached.
 
void destroyTempResources ()
 
TextureGpu * getTexturePool () const
 
void initTempResources (SceneManager *sceneManager)
 
- Public Member Functions inherited from Ogre::IdObject
 IdObject (IdType id)
 We don't call generateNewId() here, to prevent objects in the stack (i.e.
 
IdType getId () const
 Get the unique id of this object.
 
bool operator() (const IdObject &left, const IdObject &right)
 
bool operator() (const IdObject *left, const IdObject *right)
 

Constructor & Destructor Documentation

◆ VctMaterial()

Ogre::VctMaterial::VctMaterial ( IdType  id,
VaoManager *  vaoManager,
CompositorManager2 *  compositorManager,
TextureGpuManager *  textureGpuManager 
)

◆ ~VctMaterial()

Ogre::VctMaterial::~VctMaterial ( )

Member Function Documentation

◆ addDatablock()

DatablockConversionResult Ogre::VctMaterial::addDatablock ( HlmsDatablock *  datablock)

Adds a datablock, if not already cached.

If the datablock contains textures, then initTempResources must already have been called.

◆ destroyTempResources()

void Ogre::VctMaterial::destroyTempResources ( )

◆ getTexturePool()

TextureGpu * Ogre::VctMaterial::getTexturePool ( ) const
inline

◆ initTempResources()

void Ogre::VctMaterial::initTempResources ( SceneManager *  sceneManager)

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