#include <PhongShader.h>
|
| 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) |
|
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) |
|
◆ ~PhongShader()
open3d::visualization::glsl::PhongShader::~PhongShader |
( |
| ) |
|
|
inlineoverride |
◆ PhongShader()
open3d::visualization::glsl::PhongShader::PhongShader |
( |
const std::string & |
name | ) |
|
|
inlineprotected |
◆ BindGeometry()
◆ Compile()
bool open3d::visualization::glsl::PhongShader::Compile |
( |
| ) |
|
|
finalprotectedvirtual |
◆ PrepareBinding()
virtual bool open3d::visualization::glsl::PhongShader::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 |
|
) |
| |
|
protectedpure virtual |
◆ PrepareRendering()
◆ Release()
void open3d::visualization::glsl::PhongShader::Release |
( |
| ) |
|
|
finalprotectedvirtual |
◆ RenderGeometry()
◆ SetLighting()
void open3d::visualization::glsl::PhongShader::SetLighting |
( |
const ViewControl & |
view, |
|
|
const RenderOption & |
option |
|
) |
| |
|
protected |
◆ UnbindGeometry()
void open3d::visualization::glsl::PhongShader::UnbindGeometry |
( |
| ) |
|
|
finalprotectedvirtual |
◆ light_ambient_
GLuint open3d::visualization::glsl::PhongShader::light_ambient_ |
|
protected |
◆ light_ambient_data_
◆ light_color_
GLuint open3d::visualization::glsl::PhongShader::light_color_ |
|
protected |
◆ light_color_data_
◆ light_diffuse_power_
GLuint open3d::visualization::glsl::PhongShader::light_diffuse_power_ |
|
protected |
◆ light_diffuse_power_data_
◆ light_position_world_
GLuint open3d::visualization::glsl::PhongShader::light_position_world_ |
|
protected |
◆ light_position_world_data_
◆ light_specular_power_
GLuint open3d::visualization::glsl::PhongShader::light_specular_power_ |
|
protected |
◆ light_specular_power_data_
◆ light_specular_shininess_
GLuint open3d::visualization::glsl::PhongShader::light_specular_shininess_ |
|
protected |
◆ light_specular_shininess_data_
◆ M_
GLuint open3d::visualization::glsl::PhongShader::M_ |
|
protected |
◆ MVP_
GLuint open3d::visualization::glsl::PhongShader::MVP_ |
|
protected |
◆ V_
GLuint open3d::visualization::glsl::PhongShader::V_ |
|
protected |
◆ vertex_color_
GLuint open3d::visualization::glsl::PhongShader::vertex_color_ |
|
protected |
◆ vertex_color_buffer_
GLuint open3d::visualization::glsl::PhongShader::vertex_color_buffer_ |
|
protected |
◆ vertex_normal_
GLuint open3d::visualization::glsl::PhongShader::vertex_normal_ |
|
protected |
◆ vertex_normal_buffer_
GLuint open3d::visualization::glsl::PhongShader::vertex_normal_buffer_ |
|
protected |
◆ vertex_position_
GLuint open3d::visualization::glsl::PhongShader::vertex_position_ |
|
protected |
◆ vertex_position_buffer_
GLuint open3d::visualization::glsl::PhongShader::vertex_position_buffer_ |
|
protected |
The documentation for this class was generated from the following files:
- /home/yixing/repo/Open3D/src/Open3D/Visualization/Shader/PhongShader.h
- /home/yixing/repo/Open3D/src/Open3D/Visualization/Shader/PhongShader.cpp