|
Open3D (C++ API)
0.17.0
|
#include <TextureSimpleShader.h>
Public Member Functions | |
| TextureSimpleShaderForTriangleMesh () | |
Public Member Functions inherited from open3d::visualization::glsl::TextureSimpleShader | |
| ~TextureSimpleShader () 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 | |
| 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::Vector2f > &uvs) final |
Protected Member Functions inherited from open3d::visualization::glsl::TextureSimpleShader | |
| TextureSimpleShader (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::Vector2f > &uvs)=0 |
Protected Member Functions inherited from open3d::visualization::glsl::ShaderWrapper | |
| 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) |
Additional Inherited Members | |
Protected Attributes inherited from open3d::visualization::glsl::TextureSimpleShader | |
| GLuint | vertex_position_ |
| GLuint | vertex_uv_ |
| GLuint | texture_ |
| GLuint | MVP_ |
| int | num_materials_ |
| std::vector< int > | array_offsets_ |
| std::vector< GLsizei > | draw_array_sizes_ |
| std::vector< GLuint > | vertex_position_buffers_ |
| std::vector< GLuint > | vertex_uv_buffers_ |
| std::vector< GLuint > | texture_buffers_ |
Protected Attributes inherited from open3d::visualization::glsl::ShaderWrapper | |
| GLuint | vertex_shader_ = 0 |
| GLuint | geometry_shader_ = 0 |
| GLuint | fragment_shader_ = 0 |
| GLuint | program_ = 0 |
| GLenum | draw_arrays_mode_ = GL_POINTS |
| GLsizei | draw_arrays_size_ = 0 |
| bool | compiled_ = false |
| bool | bound_ = false |
|
inline |
|
finalprotectedvirtual |
Implements open3d::visualization::glsl::TextureSimpleShader.
|
finalprotectedvirtual |
Implements open3d::visualization::glsl::TextureSimpleShader.