Euphoria
|
compiledlines.cc
Go to the documentation of this file.
Definition: button.h:15
void bind_attributes(const std::vector< ShaderAttribute > &attributes, PointLayout *layout)
Definition: attributebinder.cc:11
std::shared_ptr< CompiledLines > compile(MaterialShaderCache *shader_cache, const core::Lines &lines)
Definition: compiledlines.cc:115
void convert_points_to_vertex_buffer(const std::vector< core::LinePoint > &points, const std::vector< ShaderAttribute > &attributes, VertexBuffer *vb)
Definition: compiledlines.cc:36
void convert_lines_to_index_buffer(const std::vector< core::Lines::FromToIndices > &lines, IndexBuffer *buffer)
Definition: compiledlines.cc:17
Definition: lines.h:21
Definition: vfs_path.h:36
Definition: compiledlines.h:21
void render(const mat4f &model_matrix, const mat4f &projection_matrix, const mat4f &view_matrix)
Definition: compiledlines.cc:93
std::shared_ptr< MaterialShader > shader
Definition: compiledlines.h:26
Represents a shader attribute like vertex, normal or uv coord.
Definition: shaderattribute.h:30
void set_data(const std::vector< float > &data)
Definition: buffer.cc:29