GLVis  v4.2
Accurate and flexible finite element visualization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
gl3 Namespace Reference

Namespaces

 resource
 

Classes

struct  AttrNone
 
struct  AttrBase
 
struct  AttrCoord
 
struct  AttrNormal
 
struct  AttrColor
 
struct  AttrTexcoord
 
struct  AttrCoord< TV, decltype((void) TV::coord, 0)>
 
struct  AttrNormal< TV, decltype((void) TV::norm, 0)>
 
struct  AttrColor< TV, decltype((void) TV::color, 0)>
 
struct  AttrTexcoord< TV, decltype((void) TV::texCoord, 0)>
 
struct  RenderParams
 
struct  SceneInfo
 
struct  FeedbackVertex
 
struct  FeedbackText
 
struct  CaptureBuffer
 
class  GLDevice
 
class  MeshRenderer
 
class  CoreGLDevice
 
class  FFGLDevice
 
class  ShaderProgram
 
struct  GlMatrix
 
struct  Vertex
 
struct  VertexColor
 
struct  VertexTex
 
struct  VertexNorm
 
struct  VertexNormColor
 
struct  VertexNormTex
 
class  GlBuilder
 Crude fixed-function OpenGL emulation helper. More...
 
class  IVertexBuffer
 
class  VertexBuffer
 
class  IIndexedBuffer
 
class  IndexedVertexBuffer
 
class  TextBuffer
 
class  GlDrawable
 

Typedefs

typedef vector< pair
< RenderParams, GlDrawable * > > 
RenderQueue
 

Enumerations

enum  array_layout {
  LAYOUT_VTX = 0, LAYOUT_VTX_NORMAL, LAYOUT_VTX_COLOR, LAYOUT_VTX_TEXTURE0,
  LAYOUT_VTX_NORMAL_COLOR, LAYOUT_VTX_NORMAL_TEXTURE0, NUM_LAYOUTS
}
 

Functions

template<typename TVtx >
void setupVtxAttrLayout ()
 
template<typename TVtx >
void clearVtxAttrLayout ()
 
FeedbackVertex XFBPostTransform (CoreGLDevice::ShaderXfbVertex v, float half_w, float half_h)
 
template<typename TVtx >
void setupFFVertexArray (TVtx *buffer)
 
template<typename TVtx >
void clearFFVertexArray ()
 
std::array< uint8_t, 4 > ColorU8 (float rgba[])
 
std::array< uint8_t, 4 > ColorU8 (float r, float g, float b, float a)
 

Variables

const int LIGHTS_MAX = 3
 
const float LINE_WIDTH_AA = GLVIS_MS_LINEWIDTH
 

Typedef Documentation

typedef vector<pair<RenderParams, GlDrawable*> > gl3::RenderQueue

Definition at line 58 of file renderer.hpp.

Enumeration Type Documentation

Enumerator
LAYOUT_VTX 
LAYOUT_VTX_NORMAL 
LAYOUT_VTX_COLOR 
LAYOUT_VTX_TEXTURE0 
LAYOUT_VTX_NORMAL_COLOR 
LAYOUT_VTX_NORMAL_TEXTURE0 
NUM_LAYOUTS 

Definition at line 170 of file types.hpp.

Function Documentation

template<typename TVtx >
void gl3::clearFFVertexArray ( )

Definition at line 34 of file renderer_ff.cpp.

template<typename TVtx >
void gl3::clearVtxAttrLayout ( )

Definition at line 81 of file renderer_core.cpp.

std::array<uint8_t, 4> gl3::ColorU8 ( float  rgba[])
inline

Definition at line 181 of file types.hpp.

std::array<uint8_t, 4> gl3::ColorU8 ( float  r,
float  g,
float  b,
float  a 
)
inline

Definition at line 192 of file types.hpp.

template<typename TVtx >
void gl3::setupFFVertexArray ( TVtx *  buffer)

Definition at line 20 of file renderer_ff.cpp.

template<typename TVtx >
void gl3::setupVtxAttrLayout ( )

Definition at line 70 of file renderer_core.cpp.

FeedbackVertex gl3::XFBPostTransform ( CoreGLDevice::ShaderXfbVertex  v,
float  half_w,
float  half_h 
)
inline

Definition at line 430 of file renderer_core.cpp.

Variable Documentation

const int gl3::LIGHTS_MAX = 3

Definition at line 30 of file renderer.hpp.

const float gl3::LINE_WIDTH_AA = GLVIS_MS_LINEWIDTH

Definition at line 32 of file renderer.hpp.