Click or drag to resize
XDL

XGraphicsglTexCoord2d Method (XVertex2d)

Sets the current texture coordinates.

Namespace:  Pixoneer.NXDL.NGR
Assembly:  NXDLgr (in NXDLgr.dll) Version: 1.2.817.72
Syntax
C#
public void glTexCoord2d(
	XVertex2d st
)

Parameters

st
Type: Pixoneer.NXDLXVertex2d
The vector of texture coordinate.

Return Value

Type: 
This function does not return a value.
Remarks
The glTexCoord function sets the current texture coordinates that are part of the data associated with polygon vertices. The glTexCoord function specifies texture coordinates in one, two, three, or four dimensions. The glTexCoord1 function sets the current texture coordinates to (s, 0, 0, 1); a call to glTexCoord2 sets them to (s, t, 0, 1). Similarly, glTexCoord3 specifies the texture coordinates as (s, t, r, 1), and glTexCoord4 defines all four components explicitly as (s, t, r, q). You can update the current texture coordinates at any time. In particular, you can call glTexCoord between a call to glBegin and the corresponding call to glEnd. The following function retrieves information related to glTexCoord:
See Also