cgv
Loading...
Searching...
No Matches
cgv::render::attribute_array Struct Reference

Public Member Functions

void add_attribute (type_descriptor element_type, uint32_t vbo_index, size_t byte_offset, size_t element_count, uint32_t stride, VertexAttributeID vertex_attribute_id, std::string name="")

Public Attributes

std::vector< vertex_attribute > vas
attribute_array_binding * aab_ptr
shader_program * prog

Detailed Description

Definition at line 46 of file render_info.h.

Member Function Documentation

◆ add_attribute()

void cgv::render::attribute_array::add_attribute ( type_descriptor element_type,
uint32_t vbo_index,
size_t byte_offset,
size_t element_count,
uint32_t stride,
VertexAttributeID vertex_attribute_id,
std::string name = "" )

Definition at line 10 of file render_info.cxx.

Member Data Documentation

◆ aab_ptr

attribute_array_binding* cgv::render::attribute_array::aab_ptr

Definition at line 49 of file render_info.h.

◆ prog

shader_program* cgv::render::attribute_array::prog

Definition at line 50 of file render_info.h.

◆ vas

std::vector<vertex_attribute> cgv::render::attribute_array::vas

Definition at line 48 of file render_info.h.


The documentation for this struct was generated from the following files: