MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / ~SpriteEffect

Method ~SpriteEffect

Source/Effect/Effect.cpp:215–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213 , _sampler(bgfx::createUniform("s_texColor", bgfx::UniformType::Sampler)) { }
214
215SpriteEffect::~SpriteEffect() {
216 if (bgfx::isValid(_sampler)) {
217 bgfx::destroy(_sampler);
218 }
219}
220
221bgfx::UniformHandle SpriteEffect::getSampler() const noexcept {
222 return _sampler;

Callers

nothing calls this directly

Calls 2

isValidFunction · 0.50
destroyFunction · 0.50

Tested by

no test coverage detected