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

Method onSampleNumChanged

tests/cpp-tests/Source/ShaderTest/ShaderTest.cpp:550–554  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

548}
549
550void ShaderBlur::onSampleNumChanged(Object* sender, Control::EventType)
551{
552 ControlSlider* slider = (ControlSlider*)sender;
553 _blurSprite->setBlurSampleNum(slider->getValue());
554}
555
556// ShaderRetroEffect
557

Callers

nothing calls this directly

Calls 2

setBlurSampleNumMethod · 0.45
getValueMethod · 0.45

Tested by

no test coverage detected