File indexing completed on 2025-01-18 10:04:35
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef OpenGl_StencilTest_HeaderFile
0017 #define OpenGl_StencilTest_HeaderFile
0018
0019 #include <OpenGl_Element.hxx>
0020
0021 class OpenGl_StencilTest : public OpenGl_Element
0022 {
0023 public:
0024
0025
0026 Standard_EXPORT OpenGl_StencilTest ();
0027
0028
0029 Standard_EXPORT virtual void Render (const Handle(OpenGl_Workspace)& theWorkspace) const Standard_OVERRIDE;
0030
0031 Standard_EXPORT virtual void Release (OpenGl_Context* theContext) Standard_OVERRIDE;
0032
0033 Standard_EXPORT void SetOptions (const Standard_Boolean theIsEnabled);
0034
0035
0036 Standard_EXPORT virtual void DumpJson (Standard_OStream& theOStream, Standard_Integer theDepth = -1) const Standard_OVERRIDE;
0037
0038 protected:
0039
0040
0041 Standard_EXPORT virtual ~OpenGl_StencilTest();
0042
0043 private:
0044 Standard_Boolean myIsEnabled;
0045
0046 public:
0047
0048 DEFINE_STANDARD_ALLOC
0049 };
0050
0051 #endif