![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
#include <OpenGl_StencilTest.hxx>

Public Member Functions | |
| OpenGl_StencilTest () | |
| Default constructor. | |
| void | Render (const occ::handle< OpenGl_Workspace > &theWorkspace) const override |
| Render primitives to the window. | |
| void | Release (OpenGl_Context *theContext) override |
| Release GPU resources. Pointer to the context is used because this method might be called when the context is already being destroyed and usage of a handle would be unsafe. | |
| void | SetOptions (const bool theIsEnabled) |
| void | DumpJson (Standard_OStream &theOStream, int theDepth=-1) const override |
| Dumps the content of me into the stream. | |
Public Member Functions inherited from OpenGl_Element | |
| OpenGl_Element () | |
| virtual bool | IsFillDrawMode () const |
| Return TRUE if primitive type generates shaded triangulation (to be used in filters). | |
| virtual size_t | EstimatedDataSize () const |
| Returns estimated GPU memory usage for holding data without considering overheads and allocation alignment rules. | |
| virtual void | UpdateMemStats (Graphic3d_FrameStatsDataTmp &theStats) const |
| Increment memory usage statistics. Default implementation puts EstimatedDataSize() into Graphic3d_FrameStatsCounter_EstimatedBytesGeom. | |
| virtual void | UpdateDrawStats (Graphic3d_FrameStatsDataTmp &theStats, bool theIsDetailed) const |
| Increment draw calls statistics. | |
| virtual void | SynchronizeAspects () |
| Update parameters of the drawable elements. | |
Protected Member Functions | |
| ~OpenGl_StencilTest () override | |
| Destructor. | |
Protected Member Functions inherited from OpenGl_Element | |
| virtual | ~OpenGl_Element () |
Additional Inherited Members | |
Static Public Member Functions inherited from OpenGl_Element | |
| template<typename theResource_t > | |
| static void | Destroy (OpenGl_Context *theContext, theResource_t *&theElement) |
| Pointer to the context is used because this method might be called when the context is already being destroyed and usage of a handle would be unsafe. | |
| OpenGl_StencilTest::OpenGl_StencilTest | ( | ) |
Default constructor.
|
overrideprotected |
Destructor.
|
overridevirtual |
Dumps the content of me into the stream.
Reimplemented from OpenGl_Element.
|
overridevirtual |
Release GPU resources. Pointer to the context is used because this method might be called when the context is already being destroyed and usage of a handle would be unsafe.
Implements OpenGl_Element.
|
overridevirtual |
Render primitives to the window.
Implements OpenGl_Element.