PixelLightAPI
.
|
Texture animation resource class. More...
#include <TextureAni.h>
Classes | |
struct | ColorFrame |
Color animation. More... | |
struct | MatrixFrame |
Matrix animation. More... | |
struct | TextureFrame |
Texture animation. More... | |
Public Member Functions | |
virtual PLRENDERER_API | ~TextureAni () |
Destructor. | |
PLRENDERER_API TextureAni & | operator= (const TextureAni &cSource) |
Copy operator. | |
AniInfoManager & | GetTextureAnimationManager () |
Returns the texture animation manager. | |
const AniInfoManager & | GetTextureAnimationManager () const |
PLRENDERER_API void | CreateStandardTextureAnimation () |
Create standard texture animation. | |
PLCore::Array< TextureFrame * > & | GetTextureFrames () |
Returns the texture frames array. | |
const PLCore::Array < TextureFrame * > & | GetTextureFrames () const |
AniInfoManager & | GetMatrixAnimationManager () |
Returns the matrix animation manager. | |
const AniInfoManager & | GetMatrixAnimationManager () const |
PLRENDERER_API void | CreateStandardMatrixAnimation () |
Create standard matrix animation. | |
PLCore::Array< MatrixFrame * > & | GetMatrixFrames () |
Returns the matrix frames array. | |
const PLCore::Array < MatrixFrame * > & | GetMatrixFrames () const |
AniInfoManager & | GetColorAnimationManager () |
Returns the color animation manager. | |
const AniInfoManager & | GetColorAnimationManager () const |
PLRENDERER_API void | CreateStandardColorAnimation () |
Create standard color animation. | |
PLCore::Array< ColorFrame * > & | GetColorFrames () |
Returns the color frames array. | |
const PLCore::Array < ColorFrame * > & | GetColorFrames () const |
virtual PLRENDERER_API bool | IsAnimated () const override |
Returns whether or not this texture is animated. | |
virtual PLRENDERER_API bool | LoadByFilename (const PLCore::String &sFilename, const PLCore::String &sParams="", const PLCore::String &sMethod="") override |
Loads the loadable from a file given by filename. | |
virtual PLRENDERER_API bool | SaveByFilename (const PLCore::String &sFilename, const PLCore::String &sParams="", const PLCore::String &sMethod="") override |
Saves the loadable to a file given by filename. | |
virtual PLRENDERER_API bool | SaveByFile (PLCore::File &cFile, const PLCore::String &sParams="", const PLCore::String &sMethod="") override |
Saves the loadable to a file given by reference. | |
virtual PLRENDERER_API bool | Unload () override |
Unloads the loadable. | |
virtual PLRENDERER_API PLCore::String | GetLoadableTypeName () const override |
Returns the loadable type name. |
Texture animation resource class.
virtual PLRENDERER_API PLRenderer::TextureAni::~TextureAni | ( | ) | [virtual] |
Destructor.
PLRENDERER_API TextureAni& PLRenderer::TextureAni::operator= | ( | const TextureAni & | cSource | ) |
Copy operator.
[in] | cSource | Source to copy from |
AniInfoManager & PLRenderer::TextureAni::GetTextureAnimationManager | ( | ) | [inline] |
Returns the texture animation manager.
const AniInfoManager & PLRenderer::TextureAni::GetTextureAnimationManager | ( | ) | const [inline] |
PLRENDERER_API void PLRenderer::TextureAni::CreateStandardTextureAnimation | ( | ) |
Create standard texture animation.
PLCore::Array< TextureAni::TextureFrame * > & PLRenderer::TextureAni::GetTextureFrames | ( | ) | [inline] |
Returns the texture frames array.
const PLCore::Array< TextureAni::TextureFrame * > & PLRenderer::TextureAni::GetTextureFrames | ( | ) | const [inline] |
AniInfoManager & PLRenderer::TextureAni::GetMatrixAnimationManager | ( | ) | [inline] |
Returns the matrix animation manager.
const AniInfoManager & PLRenderer::TextureAni::GetMatrixAnimationManager | ( | ) | const [inline] |
PLRENDERER_API void PLRenderer::TextureAni::CreateStandardMatrixAnimation | ( | ) |
Create standard matrix animation.
PLCore::Array< TextureAni::MatrixFrame * > & PLRenderer::TextureAni::GetMatrixFrames | ( | ) | [inline] |
Returns the matrix frames array.
const PLCore::Array< TextureAni::MatrixFrame * > & PLRenderer::TextureAni::GetMatrixFrames | ( | ) | const [inline] |
AniInfoManager & PLRenderer::TextureAni::GetColorAnimationManager | ( | ) | [inline] |
Returns the color animation manager.
const AniInfoManager & PLRenderer::TextureAni::GetColorAnimationManager | ( | ) | const [inline] |
PLRENDERER_API void PLRenderer::TextureAni::CreateStandardColorAnimation | ( | ) |
Create standard color animation.
PLCore::Array< TextureAni::ColorFrame * > & PLRenderer::TextureAni::GetColorFrames | ( | ) | [inline] |
Returns the color frames array.
const PLCore::Array< TextureAni::ColorFrame * > & PLRenderer::TextureAni::GetColorFrames | ( | ) | const [inline] |
virtual PLRENDERER_API bool PLRenderer::TextureAni::IsAnimated | ( | ) | const [override, virtual] |
Returns whether or not this texture is animated.
Reimplemented from PLRenderer::Texture.
virtual PLRENDERER_API bool PLRenderer::TextureAni::LoadByFilename | ( | const PLCore::String & | sFilename, |
const PLCore::String & | sParams = "" , |
||
const PLCore::String & | sMethod = "" |
||
) | [override, virtual] |
Loads the loadable from a file given by filename.
[in] | sFilename | Loadable filename |
[in] | sParams | Optional load method parameters, can be an empty string |
[in] | sMethod | Optional name of the load method to use, can be an empty string |
Reimplemented from PLRenderer::Texture.
virtual PLRENDERER_API bool PLRenderer::TextureAni::SaveByFilename | ( | const PLCore::String & | sFilename, |
const PLCore::String & | sParams = "" , |
||
const PLCore::String & | sMethod = "" |
||
) | [override, virtual] |
Saves the loadable to a file given by filename.
[in] | sFilename | Loadable filename |
[in] | sParams | Optional save method parameters, can be an empty string |
[in] | sMethod | Optional name of the save method to use, can be an empty string |
Reimplemented from PLRenderer::Texture.
virtual PLRENDERER_API bool PLRenderer::TextureAni::SaveByFile | ( | PLCore::File & | cFile, |
const PLCore::String & | sParams = "" , |
||
const PLCore::String & | sMethod = "" |
||
) | [override, virtual] |
Saves the loadable to a file given by reference.
[in] | cFile | File to save into, must be opened and writable |
[in] | sParams | Optional save method parameters, can be an empty string |
[in] | sMethod | Optional name of the save method to use, can be an empty string |
Reimplemented from PLRenderer::Texture.
virtual PLRENDERER_API bool PLRenderer::TextureAni::Unload | ( | ) | [override, virtual] |
Unloads the loadable.
Reimplemented from PLRenderer::Texture.
virtual PLRENDERER_API PLCore::String PLRenderer::TextureAni::GetLoadableTypeName | ( | ) | const [override, virtual] |
Returns the loadable type name.
Reimplemented from PLRenderer::Texture.
|