Visualization Library v1.0.3

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

vl::RenderStateSlot Struct Reference

#include <RenderState.hpp>

List of all members.

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

vl::RenderStateSlot::RenderStateSlot (  ) [inline]

Definition at line 97 of file RenderState.hpp.

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

Definition at line 98 of file RenderState.hpp.

virtual vl::RenderStateSlot::~RenderStateSlot (  ) [inline, virtual]

Definition at line 99 of file RenderState.hpp.


Member Function Documentation

virtual void vl::RenderStateSlot::apply ( const Camera camera,
OpenGLContext ctx 
) const [inline, virtual]

Definition at line 101 of file RenderState.hpp.

References mIndex, and mRS.

Referenced by vl::OpenGLContext::applyRenderStates(), and vl::OpenGLContext::setDefaultRenderState().

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

Member Data Documentation

Definition at line 112 of file RenderState.hpp.

Referenced by apply(), vl::VLXClassWrapper_Shader::exportShader(), and type().


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

Visualization Library v1.0.3 Reference Documentation
Copyright Michele Bosi. All rights reserved.
Updated on Tue Feb 7 2017 00:55:11.
Permission is granted to use this page to write and publish articles regarding Visualization Library.