MCPcopy Create free account
hub / github.com/axmolengine/axmol / init

Method init

tests/cpp-tests/Source/ShaderTest/ShaderTest2.cpp:228–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228bool EffectBlur::init(float blurRadius, float sampleNum)
229{
230 initProgramState("custom/example_Blur_fs");
231 _blurRadius = blurRadius;
232 _blurSampleNum = sampleNum;
233
234 return true;
235}
236
237void EffectBlur::setBlurRadius(float radius)
238{

Callers 2

drawMethod · 0.45
createMethod · 0.45

Calls 15

createFunction · 0.85
getInstanceFunction · 0.85
pushBackMethod · 0.80
setLightColorMethod · 0.80
setLightPosMethod · 0.80
setKBumpMethod · 0.80
initFunction · 0.50
Vec2Function · 0.50

Tested by

no test coverage detected