Eidolon
|
#include <OgreRenderTypes.h>
Public Member Functions | |
OgreTexture (Ogre::TexturePtr ptr, const char *filename, OgreRenderScene *scene) | |
virtual | ~OgreTexture () |
virtual void | commit () |
virtual Ogre::PixelBox | getPixelBuffer () |
virtual const char * | getFilename () const |
virtual const char * | getName () const |
virtual sval | getWidth () const |
virtual sval | getHeight () const |
virtual sval | getDepth () const |
virtual bool | hasAlpha () const |
virtual TextureFormat | getFormat () const |
virtual void | fillBlack () |
virtual void | fillColor (color col) |
virtual void | fillColor (const ColorMatrix *mat, indexval depth) |
virtual void | fillColor (const RealMatrix *mat, indexval depth, real minval=0.0, real maxval=1.0, const Material *colormat=NULL, const RealMatrix *alphamat=NULL, bool mulAlpha=true) |
![]() | |
Texture () | |
virtual | ~Texture () |
Protected Attributes | |
OgreRenderScene * | scene |
The root scene which renders this object. More... | |
std::string | filename |
Ogre::TexturePtr | ptr |
u8 * | buffer |
size_t | sizeBytes |
This adapts Ogre::Texture objects to the renderer interface. It uses an internal data buffer to fill with pixel data which is written to the actual texture only at render type using a CommitOp object.
|
inline |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
inlinevirtual |
Reimplemented from Texture.
|
inlinevirtual |
Reimplemented from Texture.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from Texture.
|
protected |
|
protected |
|
protected |
|
protected |
The root scene which renders this object.
|
protected |