scg3  0.6
scg::ShaderFile Struct Reference

A shader file consisting of a file name and a shader type (GL_VERTEX_SHADER, GL_FRAGMENT_SHADER, or GL_GEOMETRY_SHADER), to be used by ShaderCoreFactory. More...

#include "ShaderCoreFactory.h"

Collaboration diagram for scg::ShaderFile:
[legend]

Public Member Functions

 ShaderFile (const std::string &fileName0, GLenum shaderType0)
 

Public Attributes

std::string fileName
 
GLenum shaderType
 

Detailed Description

A shader file consisting of a file name and a shader type (GL_VERTEX_SHADER, GL_FRAGMENT_SHADER, or GL_GEOMETRY_SHADER), to be used by ShaderCoreFactory.

Examples
scg3_table_scene_example.cpp.

Definition at line 43 of file ShaderCoreFactory.h.

Constructor & Destructor Documentation

◆ ShaderFile()

scg::ShaderFile::ShaderFile ( const std::string &  fileName0,
GLenum  shaderType0 
)
inline

Definition at line 44 of file ShaderCoreFactory.h.

Member Data Documentation

◆ fileName

std::string scg::ShaderFile::fileName

Definition at line 48 of file ShaderCoreFactory.h.

◆ shaderType

GLenum scg::ShaderFile::shaderType

Definition at line 49 of file ShaderCoreFactory.h.


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