gramods
Public Member Functions | Public Attributes | List of all members
gramods::gmGraphics::RasterProcessor::Impl Struct Reference
Collaboration diagram for gramods::gmGraphics::RasterProcessor::Impl:
Collaboration graph
[legend]

Public Member Functions

bool init ()
 
void teardown ()
 
void run ()
 

Public Attributes

bool is_setup = false
 
bool is_functional = false
 
std::string vertex_shader_code
 
std::string fragment_shader_code = ""
 
GLuint vertex_shader_id = 0
 
GLuint fragment_shader_id = 0
 
GLuint program_id = 0
 
GLuint vao_id = 0
 
GLuint vbo_id = 0
 

Member Data Documentation

◆ vertex_shader_code

std::string gramods::gmGraphics::RasterProcessor::Impl::vertex_shader_code
Initial value:
= R"lang=glsl(
#version 330 core
in vec2 a_vertex;
out vec2 position;
void main() {
gl_Position = vec4(a_vertex, 0.0, 1.0);
position = a_vertex;
}
)lang=glsl"

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