#include <ShaderWrapper.h>
◆ ~ShaderWrapper()
virtual open3d::visualization::glsl::ShaderWrapper::~ShaderWrapper |
( |
| ) |
|
|
inlinevirtual |
◆ ShaderWrapper() [1/2]
open3d::visualization::glsl::ShaderWrapper::ShaderWrapper |
( |
const ShaderWrapper & |
| ) |
|
|
delete |
◆ ShaderWrapper() [2/2]
open3d::visualization::glsl::ShaderWrapper::ShaderWrapper |
( |
const std::string & |
name | ) |
|
|
inlineprotected |
◆ BindGeometry()
◆ Compile()
virtual bool open3d::visualization::glsl::ShaderWrapper::Compile |
( |
| ) |
|
|
protectedpure virtual |
◆ CompileShaders()
bool open3d::visualization::glsl::ShaderWrapper::CompileShaders |
( |
const char *const |
vertex_shader_code, |
|
|
const char *const |
geometry_shader_code, |
|
|
const char *const |
fragment_shader_code |
|
) |
| |
|
protected |
◆ GetShaderName()
const std::string& open3d::visualization::glsl::ShaderWrapper::GetShaderName |
( |
| ) |
const |
|
inline |
◆ InvalidateGeometry()
void open3d::visualization::glsl::ShaderWrapper::InvalidateGeometry |
( |
| ) |
|
Function to invalidate the geometry (set the dirty flag and release geometry resource)
◆ operator=()
◆ PrintShaderWarning()
void open3d::visualization::glsl::ShaderWrapper::PrintShaderWarning |
( |
const std::string & |
message | ) |
const |
◆ Release()
virtual void open3d::visualization::glsl::ShaderWrapper::Release |
( |
| ) |
|
|
protectedpure virtual |
◆ ReleaseProgram()
void open3d::visualization::glsl::ShaderWrapper::ReleaseProgram |
( |
| ) |
|
|
protected |
◆ Render()
Function to render geometry under condition of mode and view The geometry is updated in a passive manner (bind only when needed). Thus this function compiles shaders if not yet, binds geometry if not yet, then do the rendering.
◆ RenderGeometry()
◆ SetShaderName()
void open3d::visualization::glsl::ShaderWrapper::SetShaderName |
( |
const std::string & |
shader_name | ) |
|
|
inlineprotected |
◆ UnbindGeometry()
virtual void open3d::visualization::glsl::ShaderWrapper::UnbindGeometry |
( |
| ) |
|
|
protectedpure virtual |
◆ ValidateProgram()
bool open3d::visualization::glsl::ShaderWrapper::ValidateProgram |
( |
GLuint |
program_index | ) |
|
|
protected |
◆ ValidateShader()
bool open3d::visualization::glsl::ShaderWrapper::ValidateShader |
( |
GLuint |
shader_index | ) |
|
|
protected |
◆ bound_
bool open3d::visualization::glsl::ShaderWrapper::bound_ = false |
|
protected |
◆ compiled_
bool open3d::visualization::glsl::ShaderWrapper::compiled_ = false |
|
protected |
◆ draw_arrays_mode_
GLenum open3d::visualization::glsl::ShaderWrapper::draw_arrays_mode_ = GL_POINTS |
|
protected |
◆ draw_arrays_size_
GLsizei open3d::visualization::glsl::ShaderWrapper::draw_arrays_size_ = 0 |
|
protected |
◆ fragment_shader_
GLuint open3d::visualization::glsl::ShaderWrapper::fragment_shader_ |
|
protected |
◆ geometry_shader_
GLuint open3d::visualization::glsl::ShaderWrapper::geometry_shader_ |
|
protected |
◆ program_
GLuint open3d::visualization::glsl::ShaderWrapper::program_ |
|
protected |
◆ vertex_shader_
GLuint open3d::visualization::glsl::ShaderWrapper::vertex_shader_ |
|
protected |
The documentation for this class was generated from the following files: