Skip to content
Paweł Waligóra edited this page Sep 17, 2024 · 4 revisions

fielde

preamble key-word since v1.0.0

fields in single entry

Behaviour in main preamble.

Outputs how many fields are in each of the buffers single entry.

Example

fielde
; vertex.x vertex.y vertex.z
; uv.x uv.y
; indice.0 indice.1 indices.2

Suppose processed mesh has 12 vertices and 6 indices. fielde key-word will produce following values: 3, 2, 3.

Behaviour in buffer preamble.

Outputs how many fields are in the buffer's single entry.

Example


fielde ; vertex.x vertex.y vertex.z
fielde ; uv.x uv.y
fielde ; indice.0 indice.1 indices.2

Suppose processed mesh has 12 vertices and 6 indices. fielde key-words will produce following values: 3 in 1st buffer, 2 in 2nd buffer and 3 in 3rd buffer.

Clone this wiki locally