#include <TextureSimpleShader.h>
|
| 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 |
|
| 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) |
|
◆ ~TextureSimpleShader()
open3d::visualization::glsl::TextureSimpleShader::~TextureSimpleShader |
( |
| ) |
|
|
inlineoverride |
◆ TextureSimpleShader()
open3d::visualization::glsl::TextureSimpleShader::TextureSimpleShader |
( |
const std::string & |
name | ) |
|
|
inlineprotected |
◆ BindGeometry()
◆ Compile()
bool open3d::visualization::glsl::TextureSimpleShader::Compile |
( |
| ) |
|
|
finalprotectedvirtual |
◆ PrepareBinding()
virtual bool open3d::visualization::glsl::TextureSimpleShader::PrepareBinding |
( |
const geometry::Geometry & |
geometry, |
|
|
const RenderOption & |
option, |
|
|
const ViewControl & |
view, |
|
|
std::vector< Eigen::Vector3f > & |
points, |
|
|
std::vector< Eigen::Vector2f > & |
uvs |
|
) |
| |
|
protectedpure virtual |
◆ PrepareRendering()
◆ Release()
void open3d::visualization::glsl::TextureSimpleShader::Release |
( |
| ) |
|
|
finalprotectedvirtual |
◆ RenderGeometry()
◆ UnbindGeometry()
void open3d::visualization::glsl::TextureSimpleShader::UnbindGeometry |
( |
| ) |
|
|
finalprotectedvirtual |
◆ array_offsets_
std::vector<int> open3d::visualization::glsl::TextureSimpleShader::array_offsets_ |
|
protected |
◆ draw_array_sizes_
std::vector<GLsizei> open3d::visualization::glsl::TextureSimpleShader::draw_array_sizes_ |
|
protected |
◆ MVP_
GLuint open3d::visualization::glsl::TextureSimpleShader::MVP_ |
|
protected |
◆ num_materials_
int open3d::visualization::glsl::TextureSimpleShader::num_materials_ |
|
protected |
◆ texture_
GLuint open3d::visualization::glsl::TextureSimpleShader::texture_ |
|
protected |
◆ texture_buffers_
std::vector<GLuint> open3d::visualization::glsl::TextureSimpleShader::texture_buffers_ |
|
protected |
◆ vertex_position_
GLuint open3d::visualization::glsl::TextureSimpleShader::vertex_position_ |
|
protected |
◆ vertex_position_buffers_
std::vector<GLuint> open3d::visualization::glsl::TextureSimpleShader::vertex_position_buffers_ |
|
protected |
◆ vertex_uv_
GLuint open3d::visualization::glsl::TextureSimpleShader::vertex_uv_ |
|
protected |
◆ vertex_uv_buffers_
std::vector<GLuint> open3d::visualization::glsl::TextureSimpleShader::vertex_uv_buffers_ |
|
protected |
The documentation for this class was generated from the following files: