MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ vertex_colors()

DataDimension MayaFlux::Kakshya::DataDimension::vertex_colors ( uint64_t  count,
bool  has_alpha = false 
)
static

Create dimension for colors (vec3 or vec4)

Definition at line 102 of file NDData.cpp.

103{
104 return grouped("colors", count, has_alpha ? 4 : 3, Role::COLOR);
105}
Role
Semantic role of the dimension.
Definition NDData.hpp:145
static DataDimension grouped(std::string name, uint64_t element_count, uint8_t components_per_element, Role role=Role::CUSTOM)
Create dimension with component grouping.
Definition NDData.cpp:71

References COLOR, and grouped().

+ Here is the call graph for this function: