GINO Graphics Suite - GINO v9.0  

gEnqTextureCoordGeneration

Syntax

[C/C++:]
void gEnqTextureCoordGeneration(int mode, ...);
[F90:]
subroutine gEnqTextureCoordGeneration(mode, gSVec, gTVec)

integer, intent(out) :: mode
type (GTEXVEC), optional, intent(out) :: gSVec,gTVec

Arguments

mode
Texture coordinate generation mode

= GOFF, Texture coordinate generation off (default)
= GOBJECT, Object coordinates used
= GSPHERICAL, Spherical texture coordinates

Optional Args

gSVec, gTVec
Object coordinate transformation vectors for S and T texture coordinates

Description

The routine gEnqTextureCoordGeneration() returns the current GINO texture coordinate generation mode. Optionally the object coordinate transformation vectors may also be enquired, but these are only relevant when the generation mode is currently set to GOBJECT.

Note that C/C++ users should pass the address of a structure of type GTEXVEC along with the gSVec and/or gTVec arguments in a similar manner to the use of gSetTextureCoordGeneration.

See Also

gEnqTextureCoordGeneration Usage
gSetTextureCoordGeneration