TQ3AntiAliasStyleData |
typedef struct TQ3AntiAliasStyleData {
TQ3Switch state;
TQ3AntiAliasMode mode;
float quality;
} TQ3AntiAliasStyleData;
Anti-alias style data.
Anti-aliasing may be toggled on and off using the state switch. To
guarantee that no anti-aliasing is performed, the state must be set
to kQ3Off.
The type of anti-aliasing performed is controlled by the mode switch.
The quality of anti-aliasing performed is controlled by the quality
field, which can range from 0.0 (minimum) to 1.0 (maximum). Values
outside this range are undefined.
- state
- Is anti-aliasing active?
- mode
- The anti-aliasing mode.
- quality
- The anti-aliasing quality.
TQ3FogStyleData |
typedef struct TQ3FogStyleData {
TQ3Switch state;
TQ3FogMode mode;
float fogStart;
float fogEnd;
float density;
TQ3ColorARGB color;
} TQ3FogStyleData;
Fog style data.
Fog may be toggled on and off using the state switch. To guarantee that
no fogging is performed, the state must be set to kQ3Off.
The type of fogging performed is controlled by the mode switch.
- state
- Is fog active?
- mode
- The fog mode.
- fogStart
- The start point for fog (only used for linear fog).
- fogEnd
- The end point for fog (only used for linear fog).
- density
- The maximum density for fog (ignored in linear fog).
- color
- The fog color.
TQ3SubdivisionStyleData |
typedef struct TQ3SubdivisionStyleData {
TQ3SubdivisionMethod method;
float c1;
float c2;
} TQ3SubdivisionStyleData;
Subdivision style data.
The c1 parameter is used as the "size" for all subdivision methods. Its
meaning and units depends on the subdivision method.
The c2 parameter is used as an additional parameter for surfaces by the
kQ3SubdivisionMethodConstant method, to allow control over subdivision
in both horizontal and vertical dimensions.
- method
- The subdivision method.
- c1
- The first parameter for the subdivision method.
- c2
- The second parameter for the subdivision method.
© 1999-2008 Quesa Developers (Last Updated 5/10/2008)