VAPOR3 3.9.4
Classes | Public Member Functions | List of all members
VAPoR::LegacyGL Class Reference

Replements Legacy OpenGL API using OpenGL Core. More...

#include <LegacyGL.h>

Public Member Functions

 LegacyGL (GLManager *glManager)
 
 ~LegacyGL ()
 
void Initialize ()
 
void Begin (unsigned int mode)
 
void End ()
 
void Vertex (glm::vec2)
 
void Vertex (glm::vec3)
 
void Vertex2f (float x, float y)
 
void Vertex3f (float x, float y, float z)
 
void Vertex3fv (const float *v)
 
void Vertex3dv (const double *v)
 
void Normal3f (float x, float y, float z)
 
void Normal3fv (const float *n)
 
void Color (glm::vec3)
 
void Color (glm::vec4)
 
void Color3f (float r, float g, float b)
 
void Color3fv (const float *f)
 
void Color4f (float r, float g, float b, float a)
 
void Color4fv (const float *f)
 
void TexCoord (glm::vec2)
 
void TexCoord2f (float s, float t)
 
void EnableLighting ()
 
void DisableLighting ()
 
void LightDirectionfv (const float *f)
 
void EnableTexture ()
 
void DisableTexture ()
 

Detailed Description

Replements Legacy OpenGL API using OpenGL Core.

This class should not be used for any intensive rendering

Author
Stanislaw Jaroszynski
Date
August, 2018

Definition at line 27 of file LegacyGL.h.

Constructor & Destructor Documentation

◆ LegacyGL()

VAPoR::LegacyGL::LegacyGL ( GLManager glManager)

◆ ~LegacyGL()

VAPoR::LegacyGL::~LegacyGL ( )

Member Function Documentation

◆ Begin()

void VAPoR::LegacyGL::Begin ( unsigned int  mode)

◆ Color() [1/2]

void VAPoR::LegacyGL::Color ( glm::vec3  )

◆ Color() [2/2]

void VAPoR::LegacyGL::Color ( glm::vec4  )

◆ Color3f()

void VAPoR::LegacyGL::Color3f ( float  r,
float  g,
float  b 
)

◆ Color3fv()

void VAPoR::LegacyGL::Color3fv ( const float *  f)

◆ Color4f()

void VAPoR::LegacyGL::Color4f ( float  r,
float  g,
float  b,
float  a 
)

◆ Color4fv()

void VAPoR::LegacyGL::Color4fv ( const float *  f)

◆ DisableLighting()

void VAPoR::LegacyGL::DisableLighting ( )

◆ DisableTexture()

void VAPoR::LegacyGL::DisableTexture ( )

◆ EnableLighting()

void VAPoR::LegacyGL::EnableLighting ( )

◆ EnableTexture()

void VAPoR::LegacyGL::EnableTexture ( )

◆ End()

void VAPoR::LegacyGL::End ( )

◆ Initialize()

void VAPoR::LegacyGL::Initialize ( )

◆ LightDirectionfv()

void VAPoR::LegacyGL::LightDirectionfv ( const float *  f)

◆ Normal3f()

void VAPoR::LegacyGL::Normal3f ( float  x,
float  y,
float  z 
)

◆ Normal3fv()

void VAPoR::LegacyGL::Normal3fv ( const float *  n)

◆ TexCoord()

void VAPoR::LegacyGL::TexCoord ( glm::vec2  )

◆ TexCoord2f()

void VAPoR::LegacyGL::TexCoord2f ( float  s,
float  t 
)

◆ Vertex() [1/2]

void VAPoR::LegacyGL::Vertex ( glm::vec2  )

◆ Vertex() [2/2]

void VAPoR::LegacyGL::Vertex ( glm::vec3  )

◆ Vertex2f()

void VAPoR::LegacyGL::Vertex2f ( float  x,
float  y 
)

◆ Vertex3dv()

void VAPoR::LegacyGL::Vertex3dv ( const double *  v)

◆ Vertex3f()

void VAPoR::LegacyGL::Vertex3f ( float  x,
float  y,
float  z 
)

◆ Vertex3fv()

void VAPoR::LegacyGL::Vertex3fv ( const float *  v)

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