Compute Library
18.05
|
#include <GCKernelLibrary.h>
Public Member Functions | |
GCProgram () | |
Default constructor. More... | |
GCProgram (std::string name, std::string source) | |
Construct program from source file. More... | |
GCProgram (const GCProgram &)=default | |
Default Copy Constructor. More... | |
GCProgram (GCProgram &&)=default | |
Default Move Constructor. More... | |
GCProgram & | operator= (const GCProgram &)=default |
Default copy assignment operator. More... | |
GCProgram & | operator= (GCProgram &&)=default |
Default move assignment operator. More... | |
std::string | name () const |
Returns program name. More... | |
GLuint | link_program (GLuint shader) |
Link program. More... | |
GLuint | compile_shader (const std::string &build_options) |
Compile shader. More... | |
GCProgram class.
Definition at line 39 of file GCKernelLibrary.h.
GCProgram | ( | ) |
Default constructor.
GCProgram | ( | std::string | name, |
std::string | source | ||
) |
GLuint compile_shader | ( | const std::string & | build_options | ) |
Compile shader.
[in] | build_options | Shader build options. |
Referenced by GCProgram::name().
GLuint link_program | ( | GLuint | shader | ) |
Link program.
[in] | shader | Shader used to link program. |
Referenced by GCProgram::name().
|
inline |
Returns program name.
Definition at line 62 of file GCKernelLibrary.h.
References GCProgram::compile_shader(), and GCProgram::link_program().