MCPcopy Create free account
hub / github.com/defold/defold / IsVisible

Function IsVisible

engine/gui/src/gui.cpp:1710–1715  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1708 }
1709
1710 static inline bool IsVisible(InternalNode* n, float opacity)
1711 {
1712 bool use_clipping = n->m_ClipperIndex != INVALID_INDEX;
1713
1714 return n->m_Node.m_IsVisible && (opacity != 0.0f || use_clipping);
1715 }
1716
1717 void RenderScene(HScene scene, const RenderSceneParams& params, void* context)
1718 {

Callers 1

RenderSceneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected