|
bool | PrepareRendering (const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view) final |
|
bool | PrepareBinding (const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view, std::vector< Eigen::Vector3f > &points, std::vector< Eigen::Vector3f > &normals, std::vector< Eigen::Vector3f > &colors) final |
|
| PhongShader (const std::string &name) |
|
bool | Compile () final |
|
void | Release () final |
|
bool | BindGeometry (const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view) final |
|
bool | RenderGeometry (const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view) final |
|
void | UnbindGeometry () final |
|
virtual bool | PrepareRendering (const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view)=0 |
|
virtual bool | PrepareBinding (const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view, std::vector< Eigen::Vector3f > &points, std::vector< Eigen::Vector3f > &normals, std::vector< Eigen::Vector3f > &colors)=0 |
|
void | SetLighting (const ViewControl &view, const RenderOption &option) |
|
| ShaderWrapper (const std::string &name) |
|
virtual bool | Compile ()=0 |
|
virtual void | Release ()=0 |
|
virtual bool | BindGeometry (const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view)=0 |
|
virtual bool | RenderGeometry (const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view)=0 |
|
virtual void | UnbindGeometry ()=0 |
|
bool | ValidateShader (GLuint shader_index) |
|
bool | ValidateProgram (GLuint program_index) |
|
bool | CompileShaders (const char *const vertex_shader_code, const char *const geometry_shader_code, const char *const fragment_shader_code) |
|
void | ReleaseProgram () |
|
void | SetShaderName (const std::string &shader_name) |
|