|
Graphite Version 3
An experimental 3D geometry processing program
|
A GLSL source. More...
#include <geogram_gfx/basic/GLSL.h>
Public Member Functions | |
| Source () | |
| Source constructor. | |
| Source (const char *src) | |
| Source constructor from a char pointer. | |
| Source (const std::string &src) | |
| Source constructor from a string. | |
| Source (const Source &rhs) | |
| Source copy constructor. | |
| Source & | operator= (const Source &rhs) |
| Source assignment operator. | |
| const char * | text () |
| Gets the text. | |
Protected Member Functions | |
| void | copy (const Source &rhs) |
| Copies a Source. | |
A GLSL source.
Can be a pointer to a static string in constant memory or a dynamically created string.
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inline |