<texture-2d> ( component-order component-type parameters -- texture )


Vocabulary
gpu.textures

Inputs and outputs
component-ordera component-order
component-typea component-type
parametersa texture-parameters
texturea 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


: <texture-2d>
( component-order component-type parameters -- texture )
texture-2d <texture> ; inline