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
7
#include "cocoa/CCObject.h"
8
#include "cocoa/CCGeometry.h"
9
10
namespace
cocos2d
11
{
12
class
CCTexture2D;
13
class
CCRenderTexture;
14
class
CCDictionary;
15
class
CCGLProgram;
16
}
17
18
using namespace
cocos2d;
19
20
class
GAFTextureEffectsConverter
:
public
CCObject
21
{
22
public
:
23
GAFTextureEffectsConverter
();
24
~
GAFTextureEffectsConverter
();
25
static
GAFTextureEffectsConverter
* sharedConverter();
26
CCRenderTexture * gaussianBlurredTextureFromTexture(CCTexture2D * aTexture,
const
CCRect& rect,
float
aBlurRadiusX,
float
aBlurRadiusY);
27
static
CCGLProgram * programForBlurShaderWithName(
const
char
* aShaderName,
const
char
* aVertexShaderFile,
const
char
* aFragmentShaderFile);
28
private
:
29
CCDictionary * _vertexShaderUniforms;
30
};
31
32
33
#endif // __GAF_BLURRED_SPRITE___
GAFTextureEffectsConverter
Definition:
GAFTextureEffectsConverter.h:20
Generated on Thu Jan 9 2014 17:36:45 for GAF Library by
1.8.6