GAF Library
Generic Animation Format
Main Page
Classes
Files
File List
All
Classes
Functions
Pages
GAFTextureEffectsConverter.h
1
#pragma once
2
3
#ifndef __GAF_BLURRED_SPRITE___
4
#define __GAF_BLURRED_SPRITE___
5
6
class
GAFGlowFilterData
;
7
class
GAFDropShadowFilterData
;
8
9
class
GAFTextureEffectsConverter
:
public
cocos2d::Ref
10
{
11
public
:
12
GAFTextureEffectsConverter
();
13
~
GAFTextureEffectsConverter
();
14
static
GAFTextureEffectsConverter
* sharedConverter();
15
16
cocos2d::RenderTexture * gaussianBlurredTextureFromTexture(cocos2d::Texture2D * aTexture,
const
cocos2d::Rect& rect,
float
aBlurRadiusX,
float
aBlurRadiusY);
17
static
cocos2d::GLProgram * programForBlurShaderWithName(
const
char
* aShaderName,
const
char
* aVertexShaderFile,
const
char
* aFragmentShaderFile);
18
19
static
cocos2d::GLProgram * programForGlowShaderWithName(
const
char
* aShaderName,
const
char
* aVertexShaderFile,
const
char
* aFragmentShaderFile);
20
cocos2d::RenderTexture * glowTextureFromTexture(cocos2d::Texture2D * aTexture,
const
cocos2d::Rect& rect,
GAFGlowFilterData
* data);
21
22
cocos2d::RenderTexture* dropShadowTextureFromTexture(cocos2d::Texture2D * aTexture,
const
cocos2d::Rect& rect,
GAFDropShadowFilterData
* data);
23
};
24
25
26
#endif // __GAF_BLURRED_SPRITE___
GAFTextureEffectsConverter
Definition:
GAFTextureEffectsConverter.h:9
GAFDropShadowFilterData
Definition:
GAFFilterData.h:61
GAFGlowFilterData
Definition:
GAFFilterData.h:48
Generated on Wed May 28 2014 16:38:50 for GAF Library by
1.8.6