Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/axmolengine/axmol
/ clear
Method
clear
core/2d/RenderTexture.cpp:350–354 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
348
}
349
350
void RenderTexture::clear(float r, float g, float b, float a)
351
{
352
this->beginWithClear(r, g, b, a);
353
this->end();
354
}
355
356
void RenderTexture::clearDepth(float depthValue)
357
{
Callers
3
beginWithClear
Method · 0.45
draw
Method · 0.45
clearColorAttachment
Method · 0.45
Calls
2
beginWithClear
Method · 0.95
end
Method · 0.95
Tested by
no test coverage detected