Skip to content

fielde v1

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

fielde, fielde2, fielde4, fielde8

preamble key-word since v1.0.0

fields in buffer

Behaviour in main preamble.

Outputs how many fields in total are in a resulting output file.

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 a value of: 12×3 = 36, 12×2 = 24, 6×3 = 18.

Behaviour in buffer preamble.

Outputs how many fields are in the buffer in a resulting output file.

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: 12×3 = 36 in 1st buffer, 12×2 = 24 in 2nd buffer and 6 in 3rd buffer.

Clone this wiki locally