_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
Class for modifiers for custom pixel manipulations. More...
#include <video.h>
Static Public Member Functions | |
static uint32_t | CopyWithSrcAlphaKey (const uint32_t srcPixel, const uint32_t dstPixel, const uint32_t reqAlpha) |
Class for modifiers for custom pixel manipulations.
|
inlinestatic |
This one returns srcRGB+A(modulated) only if srcA is present. Otherwise returns dstRGBA. Used to copy (without alpha modulating) those pixels which has alpha chanel values