#include <Simple2DShader.h>
|
| Simple2DShader (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 > &colors)=0 |
|
| 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) |
|
◆ ~Simple2DShader()
open3d::visualization::glsl::Simple2DShader::~Simple2DShader |
( |
| ) |
|
|
inlineoverride |
◆ Simple2DShader()
open3d::visualization::glsl::Simple2DShader::Simple2DShader |
( |
const std::string & |
name | ) |
|
|
inlineprotected |
◆ BindGeometry()
◆ Compile()
bool open3d::visualization::glsl::Simple2DShader::Compile |
( |
| ) |
|
|
finalprotectedvirtual |
◆ PrepareBinding()
virtual bool open3d::visualization::glsl::Simple2DShader::PrepareBinding |
( |
const geometry::Geometry & |
geometry, |
|
|
const RenderOption & |
option, |
|
|
const ViewControl & |
view, |
|
|
std::vector< Eigen::Vector3f > & |
points, |
|
|
std::vector< Eigen::Vector3f > & |
colors |
|
) |
| |
|
protectedpure virtual |
◆ PrepareRendering()
◆ Release()
void open3d::visualization::glsl::Simple2DShader::Release |
( |
| ) |
|
|
finalprotectedvirtual |
◆ RenderGeometry()
◆ UnbindGeometry()
void open3d::visualization::glsl::Simple2DShader::UnbindGeometry |
( |
| ) |
|
|
finalprotectedvirtual |
◆ vertex_color_
GLuint open3d::visualization::glsl::Simple2DShader::vertex_color_ |
|
protected |
◆ vertex_color_buffer_
GLuint open3d::visualization::glsl::Simple2DShader::vertex_color_buffer_ |
|
protected |
◆ vertex_position_
GLuint open3d::visualization::glsl::Simple2DShader::vertex_position_ |
|
protected |
◆ vertex_position_buffer_
GLuint open3d::visualization::glsl::Simple2DShader::vertex_position_buffer_ |
|
protected |
The documentation for this class was generated from the following files: