Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/axmolengine/axmol
/ setTransparent
Method
setTransparent
core/renderer/Material.cpp:494–498 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
492
}
493
494
void Material::setTransparent(bool value)
495
{
496
_isTransparent = value;
497
getStateBlock().setBlend(_force2DQueue || _isTransparent);
498
}
499
500
void Material::setForce2DQueue(bool value)
501
{
Callers
12
Chunk
Method · 0.80
draw
Method · 0.80
BillBoard
Method · 0.80
genMaterial
Method · 0.80
init
Method · 0.80
initCustomCommand
Method · 0.80
draw
Method · 0.80
init
Method · 0.80
initQuadRender
Method · 0.80
render
Method · 0.80
initRender
Method · 0.80
init
Method · 0.80
Calls
1
setBlend
Method · 0.80
Tested by
1
init
Method · 0.64