Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | Static Public Attributes | List of all members
castor3d::Spacer Class Reference

#include <Layout.hpp>

Public Member Functions

 Spacer (uint32_t size=Dynamic) noexcept
 
bool isDynamic () const noexcept
 
uint32_t getSize () const noexcept
 

Static Public Attributes

static uint32_t constexpr Dynamic = ~0u
 Set the spacer size to this value to create a dynamic spacer.
 

Constructor & Destructor Documentation

◆ Spacer()

castor3d::Spacer::Spacer ( uint32_t size = Dynamic)
inlineexplicitnoexcept

Constructor

Parameters
[in]sizeThe spacer size.

Member Function Documentation

◆ getSize()

uint32_t castor3d::Spacer::getSize ( ) const
inlinenoexcept
Returns
The spacer size.

◆ isDynamic()

bool castor3d::Spacer::isDynamic ( ) const
inlinenoexcept
Returns
true if spacer size varies

References Dynamic.

Member Data Documentation

◆ Dynamic

uint32_t constexpr castor3d::Spacer::Dynamic = ~0u
staticconstexpr

Set the spacer size to this value to create a dynamic spacer.

Referenced by isDynamic().


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