Handbook
Glossary
<texture-2d> ( component-order component-type parameters -- texture )
Vocabulary
gpu
.
textures
Inputs
component-order
a
component-order
component-type
a
component-type
parameters
a
texture-parameters
Outputs
texture
a
texture-2d
Word description
Creates a new two-dimensional texture. The new texture starts out with no image data;
allocate-texture
or
allocate-texture-image
must be used to allocate memory for the required levels of detail of the texture.
See also
texture-2d
Definition
USING:
gpu.textures.private
;
IN:
gpu.textures
:
<texture-2d>
( component-order component-type parameters -- texture )
texture-2d
<texture>
;
inline