Thanks to visit codestin.com
Credit goes to docs.rs

Skip to main content

Module vertex

Module vertex 

Source
Expand description

Vertex types and buffer layout descriptors.

Provides canonical vertex types for the AGNOS GPU ecosystem with pre-computed wgpu::VertexBufferLayout descriptors. All types implement VertexLayout for generic pipeline construction.

Structs§

SkinnedVertex3D
A skinned 3D vertex with tangent, joint indices, and joint weights. Used for skeletal animation and normal-mapped meshes.
Vertex2D
A 2D vertex with position, texture coordinates, and color.
Vertex3D
A 3D vertex with position, normal, texture coordinates, and color.

Traits§

VertexLayout
Trait for types that describe their GPU vertex buffer layout.