Skip to main content
Module vitems
ranim_
render
0.2.1
Module vitems
Module Items
Structs
Functions
In ranim_
render::
primitives
ranim_render
::
primitives
Module
vitems
Copy item path
Source
Structs
§
Item
Info
Per-item metadata stored in a GPU buffer. Tells shaders where each VItem’s data lives in the merged buffers.
Plane
Data
Per-item plane data (normal + origin), stored as array of structs. The origin is the first point of the item (used by vertex shader). basis_u/basis_v are generated deterministically from the normal in the shader.
VItems
Buffer
Merged GPU buffers for all VItems in a frame.
Vitem
Transform
Per-item local-to-world transform, applied by the vertex stage after reconstructing the 3D position from the plane basis.
Functions
§
bg_
entry
🔒
bgl_
entry
🔒