Skip to content

entrys v1

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

entrys, entrys1 entrys2, entrys4, entrys8, entrys1_1 entrys1_2, entrys1_4, entrys1_8, entrys2_1 entrys2_2, entrys2_4, entrys2_8, entrys4_1 entrys4_2, entrys4_4, entrys4_8, entrys8_1 entrys8_2, entrys8_4, entrys8_8

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. Size will be divided by 'counting base`.

Example

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

In the above entrys4_2 key-word will produce following values: (4+4+4)÷2=6, (4+4)÷2=4, (4+4+4)÷2=6.

Behaviour in buffer preamble.

Outputs size (in bytes) of a single entry of the buffer in a resulting output file. Size will be divided by 'counting base`.

Example


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

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

Clone this wiki locally