Handbook
Glossary
(allocate-texture) ( tdt level dim data dim-quot teximage-quot -- )
Vocabulary
gpu
.
textures
.
private
Inputs
tdt
an
object
level
an
object
dim
an
object
data
an
object
dim-quot
an
object
teximage-quot
an
object
Outputs
None
Definition
USING:
gpu.buffers
kernel
;
IN:
gpu.textures.private
::
(allocate-texture)
( tdt level dim data dim-quot teximage-quot -- )
tdt
bind-tdt
:>
texture tdt
texture-data-gl-target
level
texture
texture-gl-internal-format
dim dim-quot
call
0 texture data
texture-data-gl-args
pixel-unpack-buffer
teximage-quot
with-gpu-data-ptr
;
inline