.. index:: pair: class; EE::Graphics::ClippingMask .. _doxid-class_e_e_1_1_graphics_1_1_clipping_mask: class EE::Graphics::ClippingMask ================================ .. toctree:: :hidden: enum_EE_Graphics_ClippingMask_Mode.rst Overview ~~~~~~~~ .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class ClippingMask { public: // enums enum :ref:`Mode`; // methods void :ref:`clipEnable`(const :ref:`Int32`& x, const :ref:`Int32`& y, const :ref:`Int32`& Width, const :ref:`Int32`& Height); void :ref:`clipDisable`(); void :ref:`clipPlaneEnable`(const :ref:`Int32`& x, const :ref:`Int32`& y, const :ref:`Int32`& Width, const :ref:`Int32`& Height); void :ref:`clipPlaneDisable`(); std::size_t :target:`getMaskCount`() const; const :ref:`Drawable`*& :target:`operator[]`(std::size_t index); const :ref:`Drawable`*const& :target:`operator[]`(std::size_t index) const; void :target:`clearMasks`(); void :target:`appendMask`(const :ref:`Drawable`& drawable); void :target:`removeMask`(const :ref:`Drawable`& drawable); :ref:`Mode` :target:`getMaskMode`() const; void :target:`setMaskMode`(:ref:`Mode` theMode); void :target:`stencilMaskEnable`(); void :target:`stencilMaskDisable`(bool clearMasks = false); const std::vector<:ref:`Rectf`>& :target:`getScissorsClipped`() const; void :target:`setScissorsClipped`(const std::vector<:ref:`Rectf`>& scissorsClipped); const std::vector<:ref:`Rectf`>& :target:`getPlanesClipped`() const; void :target:`setPlanesClipped`(const std::vector<:ref:`Rectf`>& planesClipped); }; .. _details-class_e_e_1_1_graphics_1_1_clipping_mask: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Methods ------- .. index:: pair: function; clipEnable .. _doxid-class_e_e_1_1_graphics_1_1_clipping_mask_1adedbe111ec1b7ba73265574b5c6338ad: .. ref-code-block:: cpp :class: doxyrest-title-code-block void clipEnable(const :ref:`Int32`& x, const :ref:`Int32`& y, const :ref:`Int32`& Width, const :ref:`Int32`& Height) Set the current Clipping area ( default the entire window, SCISSOR TEST ). .. index:: pair: function; clipDisable .. _doxid-class_e_e_1_1_graphics_1_1_clipping_mask_1ab78ce1cd8ee217f682fe970d136c0f42: .. ref-code-block:: cpp :class: doxyrest-title-code-block void clipDisable() Disable the Clipping area .. index:: pair: function; clipPlaneEnable .. _doxid-class_e_e_1_1_graphics_1_1_clipping_mask_1a390537b56ca7e1411ebb5faf0c8b3980: .. ref-code-block:: cpp :class: doxyrest-title-code-block void clipPlaneEnable(const :ref:`Int32`& x, const :ref:`Int32`& y, const :ref:`Int32`& Width, const :ref:`Int32`& Height) Clip the area with a plane. .. index:: pair: function; clipPlaneDisable .. _doxid-class_e_e_1_1_graphics_1_1_clipping_mask_1a547ebc217438b9c82fd460f38e99c01f: .. ref-code-block:: cpp :class: doxyrest-title-code-block void clipPlaneDisable() Disable the clip plane area.