GL.TexCoord2 Manual     Reference     Scripting  
Scripting > Runtime Classes > GL
GL.TexCoord2

static function TexCoord2 (x : float, y : float) : void

Description

Sets current texture coordinate (x,y) for all texture units.

In OpenGL this matches glMultiTexCoord for all texture units or glTexCoord when no multi-texturing is available. On other graphics APIs the same functionality is emulated.

This function can only be called between GL.Begin and GL.End functions.