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

Method ~RenderTarget

Source/Render/RenderTarget.cpp:37–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37RenderTarget::~RenderTarget() {
38 if (bgfx::isValid(_frameBufferHandle)) {
39 bgfx::destroy(_frameBufferHandle);
40 _frameBufferHandle = BGFX_INVALID_HANDLE;
41 }
42}
43
44uint16_t RenderTarget::getWidth() const noexcept {
45 return _textureWidth;

Callers

nothing calls this directly

Calls 2

isValidFunction · 0.50
destroyFunction · 0.50

Tested by

no test coverage detected