SOFA API  6a688117
Open source framework for multi-physics simuation
sofa::helper::gl::GLSLShader::ShaderContents Struct Reference

#include <GLSLShader.h>

A shader is a source code, as such it can be loaded either directly by its source or a filename (containing the source) More...

Detailed Description

A shader is a source code, as such it can be loaded either directly by its source or a filename (containing the source)

Public Attributes

std::string filename
 
std::string text
 

Public Member Functions

 ShaderContents ()
 

Attribute details

std::string sofa::helper::gl::GLSLShader::ShaderContents::filename
std::string sofa::helper::gl::GLSLShader::ShaderContents::text

Constructor details

sofa::helper::gl::GLSLShader::ShaderContents::ShaderContents ( )
inline