texture-dim ( tdt level -- dim )
GPU-accelerated rendering ยป Texture objects

Prev:update-texture ( tdt level loc dim data -- )
Next:read-texture ( tdt: texture-data-target level: integer -- byte-array: byte-array )


Vocabulary
gpu.textures

Inputs
tdta texture-data-target
levelan integer


Outputs
diman integer or sequence of integers


Word description
Returns the dimensions of the memory allocated for the levelth level of detail of the given texture-data-target.

Definition

GENERIC#: texture-dim 1 ( tdt level -- dim )


Methods