|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
|
inlinestatic |
Factory: layout for PointVertex (position, color, size, uv, normal, tangent)
Matches PointVertex field order exactly (60 bytes): loc 0 offset 0 VERTEX_POSITIONS_3D position loc 1 offset 12 VERTEX_COLORS_RGB color loc 2 offset 24 UNKNOWN size loc 3 offset 28 TEXTURE_COORDS_2D uv loc 4 offset 36 VERTEX_NORMALS_3D normal loc 5 offset 48 VERTEX_TANGENTS_3D tangent
| stride | Override stride (default: sizeof(PointVertex) == 60) |
Definition at line 93 of file VertexLayout.hpp.
References attributes, MayaFlux::Kakshya::SCALAR_F32, stride_bytes, MayaFlux::Kakshya::TEXTURE_COORDS_2D, MayaFlux::Kakshya::VERTEX_COLORS_RGB, MayaFlux::Kakshya::VERTEX_NORMALS_3D, MayaFlux::Kakshya::VERTEX_POSITIONS_3D, and MayaFlux::Kakshya::VERTEX_TANGENTS_3D.
Referenced by MayaFlux::Kakshya::as_point_vertex_access(), MayaFlux::Nodes::Network::FieldOperator::get_vertex_layout(), MayaFlux::Nodes::GpuSync::PointCollectionNode::PointCollectionNode(), MayaFlux::Nodes::GpuSync::PointCollectionNode::PointCollectionNode(), MayaFlux::Nodes::GpuSync::PointNode::PointNode(), and MayaFlux::Nodes::vertex_layout_for().
Here is the caller graph for this function: