clan::RasterizerState Class Reference

Rasterizer state setup. More...

#include <rasterizer_state.h>

Public Member Functions

 RasterizerState ()
 Constructs a null instance. More...
 
 RasterizerState (GraphicContext &context, const RasterizerStateDescription &desc)
 Constructs a Texture. More...
 
RasterizerStateProviderget_provider () const
 
bool is_null () const
 Returns true if this object is invalid. More...
 
 operator bool () const
 

Detailed Description

Rasterizer state setup.

Constructor & Destructor Documentation

◆ RasterizerState() [1/2]

clan::RasterizerState::RasterizerState ( )

Constructs a null instance.

◆ RasterizerState() [2/2]

clan::RasterizerState::RasterizerState ( GraphicContext context,
const RasterizerStateDescription desc 
)

Constructs a Texture.

Parameters
context= Graphic context
desc= Rasterizer state description

Member Function Documentation

◆ get_provider()

RasterizerStateProvider* clan::RasterizerState::get_provider ( ) const

◆ is_null()

bool clan::RasterizerState::is_null ( ) const
inline

Returns true if this object is invalid.

◆ operator bool()

clan::RasterizerState::operator bool ( ) const
inlineexplicit

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