MCPcopy Create free account
hub / github.com/SpartanJ/eepp / clipSmartEnable

Method clipSmartEnable

src/eepp/scene/node.cpp:1832–1839  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1830}
1831
1832void Node::clipSmartEnable( const Int32& x, const Int32& y, const Uint32& Width,
1833 const Uint32& Height, bool needsClipPlanes ) {
1834 if ( needsClipPlanes ) {
1835 GLi->getClippingMask()->clipPlaneEnable( x, y, Width, Height );
1836 } else {
1837 GLi->getClippingMask()->clipEnable( x, y, Width, Height );
1838 }
1839}
1840
1841void Node::clipSmartDisable( bool needsClipPlanes ) {
1842 if ( needsClipPlanes ) {

Callers 1

postDrawMethod · 0.80

Calls 3

clipPlaneEnableMethod · 0.80
getClippingMaskMethod · 0.80
clipEnableMethod · 0.45

Tested by

no test coverage detected