|
Open3D (C++ API)
0.19.0
|
#include <TexturePhongShader.h>
Public Member Functions | |
| ~TexturePhongShader () override | |
| Public Member Functions inherited from open3d::visualization::glsl::ShaderWrapper | |
| virtual | ~ShaderWrapper () |
| ShaderWrapper (const ShaderWrapper &)=delete | |
| ShaderWrapper & | operator= (const ShaderWrapper &)=delete |
| bool | Render (const geometry::Geometry &geometry, const RenderOption &option, const ViewControl &view) |
| void | InvalidateGeometry () |
| const std::string & | GetShaderName () const |
| void | PrintShaderWarning (const std::string &message) const |
Protected Member Functions | |
| TexturePhongShader (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::Vector2f > &uvs)=0 |
| void | SetLighting (const ViewControl &view, const RenderOption &option) |
| Protected Member Functions inherited from open3d::visualization::glsl::ShaderWrapper | |
| ShaderWrapper (const std::string &name) | |
| 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) |
|
inlineoverride |
|
inlineprotected |
|
finalprotectedvirtual |
Implements open3d::visualization::glsl::ShaderWrapper.
|
finalprotectedvirtual |
Function to compile shader In a derived class, this must be declared as final, and called from the constructor.
Implements open3d::visualization::glsl::ShaderWrapper.
|
protectedpure virtual |
Implemented in open3d::visualization::glsl::TexturePhongShaderForTriangleMesh.
|
protectedpure virtual |
Implemented in open3d::visualization::glsl::TexturePhongShaderForTriangleMesh.
|
finalprotectedvirtual |
Function to release resource In a derived class, this must be declared as final, and called from the destructor.
Implements open3d::visualization::glsl::ShaderWrapper.
|
finalprotectedvirtual |
Implements open3d::visualization::glsl::ShaderWrapper.
|
protected |
|
finalprotectedvirtual |
Implements open3d::visualization::glsl::ShaderWrapper.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |