SOFA API  1a4bb3e7
Open source framework for multi-physics simuation
sofa::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

◆ filename

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

◆ text

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

Constructor details

◆ ShaderContents()

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