<texture-rectangle> ( component-order component-type parameters -- texture )


Vocabulary
gpu.textures

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


Outputs
texturea texture-rectangle


Word description
Creates a new rectangle texture. The new texture starts out with no image data; allocate-texture or allocate-texture-image must be used to allocate memory for the texture.

Notes
Rectangle textures require OpenGL 3.1 or the GL_ARB_texture_rectangle extension.

Definition


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