GINO Graphics Suite - GINO v9.0  

gEnqTextureMappingMode

Syntax

[C/C++:]
void gEnqTextureMappingMode(GTEXATT *att);
[F90:]
subroutine gEnqTextureMappingMode(att)
type (GTEXATT),  intent(out) :: att

Arguments

att.mode
Texture mapping mode

= GOFF, Texture mapping is off (default)
= GOVERLAY, Overlay texture on surface
= GMODULATE, Modulate texture colours with surface colour
= GBLEND, Blend texture with constant blend colour

att.blendcol
Blend colour

att.wraps
Texture wrapping switch in S direction

= GREPEAT, Repeat texture map (default)
= GCLAMP, Clamp texture map

att.wrapt
Texture wrapping switch in T direction

= GREPEAT, Repeat texture map (default)
= GCLAMP, Clamp texture map

att.maxfil
Filter when enlarging  texture map

= GNEAREST, Use nearest texel (default)
= GLINEAR, Use weighted average of 2x2 texels

att.minfil
Filter when reducing  texture map

= GNEAREST, Use nearest texel (default)
= GLINEAR, Use weighted average of 2x2 texels
= GNEARESTNEAREST, Nearest mipmap using nearest texel filter
= GNEARESTLINEAR, Nearest mipmap using linear texel filter
= GLINEARNEAREST, Linear interpolate mipmap using nearest texel filter
= GLINEARLINEAR, Linear interpolate mipmap and linear texel filter

att.bordercol
Texture map border colour

Description

The routine gEnqTextureMappingMode() returns the current GINO texture mapping mode and its attributes.

See Also

gEnqTextureMappingMode Usage
gSetTextureMappingMode