#include <texture.h>
Inheritance diagram for CEGUI::DirectX81Texture:
Public Member Functions | |
virtual ushort | getWidth (void) const |
Returns the current pixel width of the texture. | |
virtual ushort | getHeight (void) const |
Returns the current pixel height of the texture. | |
virtual 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. | |
virtual void | loadFromMemory (const void *buffPtr, uint buffWidth, uint buffHeight) |
Loads (copies) an image in memory into the texture. The texture is resized as required to hold the image. | |
LPDIRECT3DTEXTURE8 | getD3DTexture (void) const |
Return a pointer to the internal Direct3DTexture8 object. | |
void | setD3DTextureSize (uint size) |
set the size of the internal D3D texture. Previous D3D texture is lost. | |
virtual void | preD3DReset (void) |
Direct3D support method that must be called prior to a Reset call on the Direct3DDevice; this is required so that the GUI renderer can release any unmanaged D3D resources as needed for the device reset to succeed. | |
virtual void | postD3DReset (void) |
Direct3D support method that must be called after a Reset call on the Direct3DDevice; this is required so that the GUI renderer can rebuild any unmanaged D3D resources after the device has been reset. | |
Renderer * | getRenderer (void) const |
Return a pointer to the Renderer object that created and owns this Texture. | |
Friends | |
Texture * | DirectX81Renderer::createTexture (void) |
Texture * | DirectX81Renderer::createTexture (const String &filename, const String &resourceGroup) |
Texture * | DirectX81Renderer::createTexture (float size) |
void | DirectX81Renderer::destroyTexture (Texture *texture) |
Definition at line 44 of file texture.h.
|
Return a pointer to the internal Direct3DTexture8 object.
|
|
Returns the current pixel height of the texture.
Implements CEGUI::Texture. |
|
Return a pointer to the Renderer object that created and owns this Texture.
Definition at line 113 of file CEGUITexture.h. Referenced by CEGUI::Imageset::draw(), loadFromFile(), CEGUI::DirectX9Texture::loadFromFile(), loadFromMemory(), CEGUI::DirectX9Texture::loadFromMemory(), setD3DTextureSize(), and CEGUI::DirectX9Texture::setD3DTextureSize(). |
|
Returns the current pixel width of the texture.
Implements CEGUI::Texture. |
|
Loads the specified image file into the texture. The texture is resized as required to hold the image.
Implements CEGUI::Texture. Definition at line 67 of file texture.cpp. References CEGUI::DataContainer< T >::getDataPtr(), CEGUI::Texture::getRenderer(), CEGUI::System::getResourceProvider(), CEGUI::System::getSingleton(), CEGUI::DataContainer< T >::getSize(), CEGUI::ResourceProvider::loadRawDataContainer(), and CEGUI::ResourceProvider::unloadRawDataContainer(). Referenced by CEGUI::DirectX81Renderer::createTexture(), and postD3DReset(). |
|
Loads (copies) an image in memory into the texture. The texture is resized as required to hold the image.
Implements CEGUI::Texture. Definition at line 102 of file texture.cpp. References ceguimax, and CEGUI::Texture::getRenderer(). |
|
Direct3D support method that must be called after a Reset call on the Direct3DDevice; this is required so that the GUI renderer can rebuild any unmanaged D3D resources after the device has been reset.
Definition at line 237 of file texture.cpp. References loadFromFile(). |
|
Direct3D support method that must be called prior to a Reset call on the Direct3DDevice; this is required so that the GUI renderer can release any unmanaged D3D resources as needed for the device reset to succeed.
Definition at line 211 of file texture.cpp. |
|
set the size of the internal D3D texture. Previous D3D texture is lost.
Definition at line 184 of file texture.cpp. References CEGUI::Texture::getRenderer(). Referenced by CEGUI::DirectX81Renderer::createTexture(). |
|
|
|
|
|
|
|
|