Skip to content
Paweł Waligóra edited this page Sep 16, 2024 · 1 revision

buffu

preamble key-word since v2.0.0

Can only be defined in main preamble.

buffers in unit

Behaviour

Outputs how many buffers are defined in the unit.

Example

begin file a.out
buffu
buffs ; vertex.x vertex.y vertex.z
buffs ; normal.x normal.y normal.z
buffs ; uv.u uv.v
end

buffu key-word will output number 3 to the output file since there are 3 buffers defined.

Clone this wiki locally