|
|
void | setDirect3D9Texture (LPDIRECT3DTEXTURE9 tex) |
| | set the D3D9 texture that this Texture is based on to the specified texture.
|
| |
| LPDIRECT3DTEXTURE9 | getDirect3D9Texture () const |
| | Return the internal D3D9 texture used by this Texture object. More...
|
| |
| void | setOriginalDataSize (const Sizef &sz) |
| | Sets what the texture should consider as the original data size. More...
|
| |
|
void | preD3DReset () |
| | auto called via the Renderer prior to Reset on the Direct3DDevice9.
|
| |
|
void | postD3DReset () |
| | auto called via the Renderer after Reset on the Direct3DDevice9.
|
| |
| const String & | getName () const |
| | Returns the name given to the texture when it was created. More...
|
| |
| const Sizef & | getSize () const |
| | Returns the current pixel size of the texture. More...
|
| |
| const Sizef & | getOriginalDataSize () const |
| | Returns the original pixel size of the data loaded into the texture. More...
|
| |
| const Vector2f & | getTexelScaling () const |
| | Returns pixel to texel scale values that should be used for converting pixel values to texture co-ords. More...
|
| |
| void | loadFromFile (const String &filename, const String &resourceGroup) |
| | Loads the specified image file into the texture. The texture is resized as required to hold the image. More...
|
| |
| void | loadFromMemory (const void *buffer, const Sizef &buffer_size, PixelFormat pixel_format) |
| | Loads (copies) an image in memory into the texture. The texture is resized as required to hold the image. More...
|
| |
| void | blitFromMemory (const void *sourceData, const Rectf &area) |
| | Performs an area memory blit to the texture. More...
|
| |
| void | blitToMemory (void *targetData) |
| | Performs a complete blit from the texture surface to memory. More...
|
| |
| bool | isPixelFormatSupported (const PixelFormat fmt) const |
| | Return whether the specified pixel format is supported by the system for the CEGUI::Texture implementation. More...
|
| |
|
virtual | ~Texture () |
| | Destructor for Texture base class.
|
| |
| virtual const String & | getName () const =0 |
| | Returns the name given to the texture when it was created. More...
|
| |
| virtual const Sizef & | getSize () const =0 |
| | Returns the current pixel size of the texture. More...
|
| |
| virtual const Sizef & | getOriginalDataSize () const =0 |
| | Returns the original pixel size of the data loaded into the texture. More...
|
| |
| virtual const Vector2f & | getTexelScaling () const =0 |
| | Returns pixel to texel scale values that should be used for converting pixel values to texture co-ords. More...
|
| |
| virtual void | loadFromFile (const String &filename, const String &resourceGroup)=0 |
| | Loads the specified image file into the texture. The texture is resized as required to hold the image. More...
|
| |
| virtual void | loadFromMemory (const void *buffer, const Sizef &buffer_size, PixelFormat pixel_format)=0 |
| | Loads (copies) an image in memory into the texture. The texture is resized as required to hold the image. More...
|
| |
| virtual void | blitFromMemory (const void *sourceData, const Rectf &area)=0 |
| | Performs an area memory blit to the texture. More...
|
| |
| virtual void | blitToMemory (void *targetData)=0 |
| | Performs a complete blit from the texture surface to memory. More...
|
| |
| virtual bool | isPixelFormatSupported (const PixelFormat fmt) const =0 |
| | Return whether the specified pixel format is supported by the system for the CEGUI::Texture implementation. More...
|
| |
|
|
| Direct3D9Texture (Direct3D9Renderer &owner, const String &name) |
| | Basic constructor.
|
| |
|
| Direct3D9Texture (Direct3D9Renderer &owner, const String &name, const String &filename, const String &resourceGroup) |
| | Construct texture from an image file.
|
| |
|
| Direct3D9Texture (Direct3D9Renderer &owner, const String &name, const Sizef &sz) |
| | Construct texture with a given size.
|
| |
|
| Direct3D9Texture (Direct3D9Renderer &owner, const String &name, LPDIRECT3DTEXTURE9 tex) |
| | Construct texture that wraps an existing D3D9 texture.
|
| |
|
virtual | ~Direct3D9Texture () |
| | Destructor.
|
| |
|
void | createDirect3D9Texture (const Sizef sz, D3DFORMAT format) |
| | create internal texture.
|
| |
|
void | cleanupDirect3D9Texture () |
| | clean up the internal texture.
|
| |
|
IDirect3DSurface9 * | getTextureSurface () const |
| | get the IDirect3DSurface9 interface for the underlying texture.
|
| |
|
void | updateCachedScaleValues () |
| | updates cached scale value used to map pixels to texture co-ords.
|
| |
|
void | updateTextureSize () |
| | set d_size to actual texture size (d_dataSize is used if query fails)
|
| |
Texture implementation for the Direct3D9Renderer.