Class CCGridBase

#include <Geode/cocos/effects/CCGrid.h>
classCCGridBase:publiccocos2d::CCObject{ ... }

Base class for other

Examples0
Public static methods2
staticcocos2d::CCGridBase*create(,,
boolflipped
)

create one Grid

staticcocos2d::CCGridBase*create()

create one Grid

Public member functions18
boolisActive()

whether or not the grid is active

voidsetActive(
boolbActive
)
No description provided
intgetReuseGrid()

number of times that the grid will be reused

voidsetReuseGrid(
intnReuseGrid
)
No description provided
cocos2d::CCSizeconst&getGridSize()

size of the grid

voidsetGridSize()
No description provided
cocos2d::CCPointconst&getStep()

pixels between the grids

voidsetStep()
No description provided
boolisTextureFlipped()

is texture flipped

voidsetTextureFlipped(
boolbFlipped
)
No description provided
boolinitWithSize(,,
boolbFlipped
)
No description provided
boolinitWithSize()
No description provided
voidbeforeDraw()
No description provided
voidafterDraw()
No description provided
virtualvoidblit()
No description provided
virtualvoidreuse()
No description provided
virtualvoidcalculateVertexPoints()
No description provided
voidset2DProjection()
No description provided
Fields0
Protected member functions0
Protected fields9
boolm_bActive
;
No description provided
intm_nReuseGrid
;
No description provided
cocos2d::CCSizem_sGridSize
;
No description provided
;
No description provided
;
No description provided
;
No description provided
boolm_bIsTextureFlipped
;
No description provided
cocos2d::CCGLProgram*m_pShaderProgram
;
No description provided
cocos2d::ccDirectorProjectionm_directorProjection
;
No description provided