CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::Scissor Struct Referencefinal

#include <CeresEngine/RenderAPI/GPUGraphicsPipeline.hpp>

Public Member Functions

 Scissor () noexcept=default
 
 Scissor (const Scissor &) noexcept=default
 
Scissoroperator= (const Scissor &) noexcept=default
 
 Scissor (const Int32 x, const Int32 y, const Int32 width, const Int32 height) noexcept
 Scissor constructor with parameters for all attributes.
 
 Scissor (const TOffset2< Int32 > &offset, const TExtent2< Int32 > &extent) noexcept
 Scissor constructor with offset and extent parameters.
 

Static Public Member Functions

template<typename Processor >
static constexpr void reflect (Processor &&RTTI)
 Executes the given processor for every field of the struct.
 

Public Attributes

Int32 x = 0
 Left-top X coordinate.
 
Int32 y = 0
 Left-top Y coordinate.
 
Int32 width = 0
 Right-bottom width.
 
Int32 height = 0
 Right-bottom height.
 

Constructor & Destructor Documentation

◆ Scissor() [1/4]

CeresEngine::Scissor::Scissor ( )
defaultnoexcept

◆ Scissor() [2/4]

CeresEngine::Scissor::Scissor ( const Scissor )
defaultnoexcept

◆ Scissor() [3/4]

CeresEngine::Scissor::Scissor ( const Int32  x,
const Int32  y,
const Int32  width,
const Int32  height 
)
inlinenoexcept

Scissor constructor with parameters for all attributes.

◆ Scissor() [4/4]

CeresEngine::Scissor::Scissor ( const TOffset2< Int32 > &  offset,
const TExtent2< Int32 > &  extent 
)
inlinenoexcept

Scissor constructor with offset and extent parameters.

Member Function Documentation

◆ operator=()

Scissor & CeresEngine::Scissor::operator= ( const Scissor )
defaultnoexcept

◆ reflect()

template<typename Processor >
static constexpr void CeresEngine::Scissor::reflect ( Processor &&  RTTI)
inlinestaticconstexpr

Executes the given processor for every field of the struct.

Parameters
RTTIThe processor to be ran for every field.

Member Data Documentation

◆ height

Int32 CeresEngine::Scissor::height = 0

Right-bottom height.

◆ width

Int32 CeresEngine::Scissor::width = 0

Right-bottom width.

◆ x

Int32 CeresEngine::Scissor::x = 0

Left-top X coordinate.

◆ y

Int32 CeresEngine::Scissor::y = 0

Left-top Y coordinate.


The documentation for this struct was generated from the following file: