57 size_t start_of_block = 0;
59 start_of_block = vertices.size() -
mrgb_block.size();
61 if (start_of_block == 0) {
155 for (
int i = 0; i <
count; ++i) {
Object is a sort of wrapper for general info.
void reserve(const int64_t n)
draw_view push_constant(Type::INT, "radiance_src") .push_constant(Type capture_info_buf storage_buf(1, Qualifier::READ, "ObjectBounds", "bounds_buf[]") .push_constant(Type draw_view int
void min_inplace(T &a, const T &b)
void max_inplace(T &a, const T &b)
VecBase< float, 3 > float3
int get_vertex_count() const
void track_all_vertices(int count)
Vector< std::string > material_order_
Map< int, int > global_to_local_vertices_
Vector< FaceCorner > face_corners_
Map< std::string, int > group_indices_
NurbsElement nurbs_element_
Vector< std::string > group_order_
Map< std::string, int > material_indices_
void track_vertex_index(int index)
std::string geometry_name_
Vector< FaceElem > face_elements_
Vector< float3 > vertex_colors
bool has_vertex_color(size_t index) const
void set_vertex_color(size_t index, float3 color)
Vector< float3 > vertices
Vector< float2 > uv_vertices
Vector< float3 > vert_normals
Vector< float3 > mrgb_block
Vector< int > curv_indices