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

entrys

preamble key-word since v1.0.0

size of single entry

Behaviour in main preamble.

Outputs sizes (in bytes) of a single entry of each of the buffers in a resulting output file.

Example

begin file a.out
entrys
; vertex.x vertex.y vertex.z
; uv0.x uv0.y
; indice.0 indice.1 indices.2
end

In the above entrys key-word will produce following values: 4+4+4=12, 4+4=8, 4+4+4=12.

Behaviour in buffer preamble.

Outputs size (in bytes) of a single entry of the buffer in a resulting output file.

Example

begin file a.out

entrys ; vertex.x vertex.y vertex.z
entrys ; uv0.x uv0.y
entrys ; indice.0 indice.1 indices.2
end

In the above entrys key-word will produce following values: 4+4+4=12 in 1st buffer, 4+4=8 in 2nd buffer and 4+4+4=12 in 3rd buffer.

Clone this wiki locally