PixelLightAPI  .
Public Member Functions
PLGraphics::IEConvert Class Reference

Image effect: Convert data and color type of an image. More...

#include <IEConvert.h>

Inheritance diagram for PLGraphics::IEConvert:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual PLGRAPHICS_API bool Apply (ImageBuffer &cBuffer) const override
 Apply effect to image buffer.

Detailed Description

Image effect: Convert data and color type of an image.

Note:
  • The color format "ColorPalette" is not supported as destination format
  • If an alpha channel is added, the set alpha value for every pixel is 255 for integer formats and 1.0 for floating point formats... this way, such an image can usually directly be used as a solid texture

Member Function Documentation

virtual PLGRAPHICS_API bool PLGraphics::IEConvert::Apply ( ImageBuffer cBuffer) const [override, virtual]

Apply effect to image buffer.

Parameters:
[in,out]cBufferImage buffer
Returns:
'true' if all went fine, else 'false'

Reimplemented from PLGraphics::ImageEffect.


The documentation for this class was generated from the following file:


PixelLight PixelLight 0.9.10-R1
Copyright (C) 2002-2011 by The PixelLight Team
Last modified Fri Dec 23 2011 15:51:17
The content of this PixelLight document is published under the
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported