Visualization Library 2.1.0

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Public Member Functions | Public Attributes | List of all members
vl::RenderStateSlot Struct Reference

#include <RenderState.hpp>

Public Member Functions

 RenderStateSlot ()
 
 RenderStateSlot (RenderState *rs, int index)
 
virtual ~RenderStateSlot ()
 
virtual void apply (const Camera *camera, OpenGLContext *ctx) const
 
ERenderState type () const
 

Public Attributes

ref< RenderStatemRS
 
int mIndex
 

Detailed Description

Definition at line 95 of file RenderState.hpp.

Constructor & Destructor Documentation

◆ RenderStateSlot() [1/2]

vl::RenderStateSlot::RenderStateSlot ( )
inline

Definition at line 97 of file RenderState.hpp.

◆ RenderStateSlot() [2/2]

vl::RenderStateSlot::RenderStateSlot ( RenderState rs,
int  index 
)
inline

Definition at line 98 of file RenderState.hpp.

◆ ~RenderStateSlot()

virtual vl::RenderStateSlot::~RenderStateSlot ( )
inlinevirtual

Definition at line 99 of file RenderState.hpp.

Member Function Documentation

◆ apply()

virtual void vl::RenderStateSlot::apply ( const Camera camera,
OpenGLContext ctx 
) const
inlinevirtual

◆ type()

ERenderState vl::RenderStateSlot::type ( ) const
inline

Member Data Documentation

◆ mIndex

int vl::RenderStateSlot::mIndex

Definition at line 112 of file RenderState.hpp.

Referenced by vlX::VLXClassWrapper_Shader::exportShader().

◆ mRS

ref<RenderState> vl::RenderStateSlot::mRS

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