Falcon
Public Member Functions | Public Attributes | List of all members
SimpleShader Struct Reference

#include <Shader.h>

Public Member Functions

 SimpleShader (GLenum type)
 
 SimpleShader (GLenum type, std::string source)
 

Public Attributes

unsigned int m_shaderId = 0
 
GLenum m_type
 
std::string m_source
 

Detailed Description

Simple Shader struct to store Shader Code for any type of shader using OpenGL commands..

Constructor & Destructor Documentation

◆ SimpleShader() [1/2]

SimpleShader::SimpleShader ( GLenum  type)
inline

◆ SimpleShader() [2/2]

SimpleShader::SimpleShader ( GLenum  type,
std::string  source 
)
inline

Member Data Documentation

◆ m_shaderId

unsigned int SimpleShader::m_shaderId = 0

◆ m_source

std::string SimpleShader::m_source

◆ m_type

GLenum SimpleShader::m_type

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