MayaFlux 0.1.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 100 of file NDData.cpp.

101{
102 return grouped("colors", count, has_alpha ? 4 : 3, Role::COLOR);
103}
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:69

References COLOR, and grouped().

+ Here is the call graph for this function: