LiteFX::Rendering::Scissor::Scissor¶
Constructors
Synopses¶
Declared in <litefx/rendering_api.hpp>
Creates a copy of a scissor.
[[dllimport, dllexport]] Scissor(Scissor const& _other);
Takes over another instance of a scissor.
[[dllimport, dllexport]] Scissor(Scissor&& _other) noexcept;
Initializes a new scissor.
[[dllimport, dllexport]] explicit Scissor(RectF const& scissorRect = { }) noexcept;
Parameters¶
| Name | Description |
|---|---|
| _other | The scissor instance to copy. |
| scissorRect | The rectangle that defines the scissor region. |