OGRE-Next  4.0.0unstable
Object-Oriented Graphics Rendering Engine
Ogre::TextureFilter::GenerateHwMipmaps Class Reference

#include <OgreTextureFilters.h>

+ Inheritance diagram for Ogre::TextureFilter::GenerateHwMipmaps:

Public Member Functions

 GenerateHwMipmaps ()
 
void _executeSerial (TextureGpu *texture) override
 Gets executed after the TextureGpu is fully resident and fully loaded. More...
 
void _executeStreaming (Image2 &image, TextureGpu *texture) override
 Gets executed from worker thread, right after the Image was loaded from file and we're done setting the metadata to the Texture. More...
 
- Public Member Functions inherited from Ogre::TextureFilter::FilterBase
virtual ~FilterBase ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Ogre::TextureFilter::FilterBase
static void createFilters (uint32 filters, FilterBaseArray &outFilters, const TextureGpu *texture, const Image2 &image, bool toSysRam)
 
static void destroyFilters (FilterBaseArray &inOutFilters)
 
static void simulateFiltersForCacheConsistency (uint32 filters, const Image2 &image, const TextureGpuManager *textureGpuManager, uint8 &inOutNumMipmaps, PixelFormatGpu &inOutPixelFormat)
 Simulates as if the given filters were applied, producing the resulting number mipmaps & PixelFormat. More...
 

Constructor & Destructor Documentation

◆ GenerateHwMipmaps()

Ogre::TextureFilter::GenerateHwMipmaps::GenerateHwMipmaps ( )
inline

Member Function Documentation

◆ _executeSerial()

void Ogre::TextureFilter::GenerateHwMipmaps::_executeSerial ( TextureGpu texture)
overridevirtual

Gets executed after the TextureGpu is fully resident and fully loaded.

(except for the steps this filter is supposed to do)

Reimplemented from Ogre::TextureFilter::FilterBase.

◆ _executeStreaming()

void Ogre::TextureFilter::GenerateHwMipmaps::_executeStreaming ( Image2 image,
TextureGpu texture 
)
overridevirtual

Gets executed from worker thread, right after the Image was loaded from file and we're done setting the metadata to the Texture.

Beware the texture may or may not have been transitioned to resident yet (it's likely not resident, but 2nd face and onwards of cubemaps will be resident)

Reimplemented from Ogre::TextureFilter::FilterBase.


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