MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / ~Decal

Method ~Decal

olcPixelGameEngine.h:2223–2230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2221 }
2222
2223 Decal::~Decal()
2224 {
2225 if (id != -1)
2226 {
2227 renderer->DeleteTexture(id);
2228 id = -1;
2229 }
2230 }
2231
2232 void Renderable::Create(uint32_t width, uint32_t height, bool filter, bool clamp)
2233 {

Callers

nothing calls this directly

Calls 1

DeleteTextureMethod · 0.45

Tested by

no test coverage detected