//----------------------------------------------------------------// void MOAIGfxDevice::SetBlendMode ( int srcFactor, int dstFactor ) { MOAIBlendMode blendMode; blendMode.SetBlend ( srcFactor, dstFactor ); this->SetBlendMode ( blendMode ); }
//----------------------------------------------------------------// void MOAIGfxDeviceStateCache::SetBlendMode ( int srcFactor, int dstFactor, int equation ) { MOAIBlendMode blendMode; blendMode.SetBlend ( srcFactor, dstFactor ); blendMode.SetBlendEquation( equation ); this->SetBlendMode ( blendMode ); }