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


Vocabulary
gpu.textures

Inputs
component-ordera component-order
component-typea component-type
parametersa texture-parameters


Outputs
texturea texture-1d


Word description
Creates a new one-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-1d

Definition


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