PixelLightAPI
.
|
#include <ImagePart.h>
Public Member Functions | |
ImagePart () | |
Constructor. | |
PLGRAPHICS_API | ImagePart (const ImagePart &cSource) |
Copy constructor. | |
~ImagePart () | |
Destructor. | |
PLGRAPHICS_API ImagePart & | operator= (const ImagePart &cSource) |
Assignment operator. | |
PLGRAPHICS_API void | Clear () |
Clear data. | |
PLGRAPHICS_API void | ApplyEffect (const ImageEffect &cEffect) |
Apply image effect. | |
PLGRAPHICS_API ECheckConsistency | CheckConsistency () const |
Check image for possible problems. | |
PLCore::uint32 | GetSemantics () const |
Get semantics. | |
void | SetSemantics (PLCore::uint32 nSemantics) |
Set semantics. | |
bool | HasMipmaps () const |
Check if the layer has mipmaps. | |
PLCore::uint32 | GetNumOfMipmaps () const |
Get number of mipmaps. | |
ImageBuffer * | GetMipmap (PLCore::uint32 nIndex) const |
Get mipmap. | |
const PLCore::Container < ImageBuffer * > & | GetMipmaps () const |
Get mipmaps. | |
PLGRAPHICS_API bool | BuildMipmaps () |
Build mipmaps. | |
PLGRAPHICS_API ImageBuffer * | CreateMipmap () |
Create new mipmap. | |
PLGRAPHICS_API bool | DeleteMipmap (ImageBuffer &cImageBuffer) |
Delete mipmap. | |
PLGRAPHICS_API void | DeleteMipmaps () |
Deletes all mipmaps besides the first one (the base map) |
Image part.
PLGraphics::ImagePart::ImagePart | ( | ) | [inline] |
Constructor.
PLGRAPHICS_API PLGraphics::ImagePart::ImagePart | ( | const ImagePart & | cSource | ) |
Copy constructor.
[in] | cSource | Source to copy from |
PLGraphics::ImagePart::~ImagePart | ( | ) | [inline] |
Destructor.
Assignment operator.
[in] | cSource | Source to copy from |
PLGRAPHICS_API void PLGraphics::ImagePart::Clear | ( | ) |
Clear data.
PLGRAPHICS_API void PLGraphics::ImagePart::ApplyEffect | ( | const ImageEffect & | cEffect | ) |
Apply image effect.
[in] | cEffect | Image effect |
PLGRAPHICS_API ECheckConsistency PLGraphics::ImagePart::CheckConsistency | ( | ) | const |
Check image for possible problems.
PLCore::uint32 PLGraphics::ImagePart::GetSemantics | ( | ) | const [inline] |
Get semantics.
void PLGraphics::ImagePart::SetSemantics | ( | PLCore::uint32 | nSemantics | ) | [inline] |
Set semantics.
[in] | nSemantics | Semantics ID |
bool PLGraphics::ImagePart::HasMipmaps | ( | ) | const [inline] |
Check if the layer has mipmaps.
PLCore::uint32 PLGraphics::ImagePart::GetNumOfMipmaps | ( | ) | const [inline] |
Get number of mipmaps.
ImageBuffer * PLGraphics::ImagePart::GetMipmap | ( | PLCore::uint32 | nIndex | ) | const [inline] |
Get mipmap.
[in] | nIndex | Index of mipmap |
const PLCore::Container< ImageBuffer * > & PLGraphics::ImagePart::GetMipmaps | ( | ) | const [inline] |
Get mipmaps.
PLGRAPHICS_API bool PLGraphics::ImagePart::BuildMipmaps | ( | ) |
Build mipmaps.
PLGRAPHICS_API ImageBuffer* PLGraphics::ImagePart::CreateMipmap | ( | ) |
Create new mipmap.
PLGRAPHICS_API bool PLGraphics::ImagePart::DeleteMipmap | ( | ImageBuffer & | cImageBuffer | ) |
Delete mipmap.
[in] | cImageBuffer | Image buffer of mipmap |
PLGRAPHICS_API void PLGraphics::ImagePart::DeleteMipmaps | ( | ) |
Deletes all mipmaps besides the first one (the base map)
|