void PEXOCCSetTMSampleFrequency( PEXOCC context, int frequency )
None.
Invoke PEXOCCSetTMSampleFrequency to create an attribute output command which sets the texture mapping sample frequency entry of the renderer's pipeline state according to the value specified by frequency.
Use the texture mapping sample frequency to specify the frequency to sample texels in a texture map when rendering textured surface primitives.
PEXlib defines the following texture mapping sample frequencies (frequency):
If the interpolation method is PEXSurfaceInterpNone, then the implementation samples texture map texels once per facet.
If the interpolation method is PEXSurfaceInterpColor, then the implementation samples texture map texels once per vertex.
If the interpolation method is PEXSurfaceInterpDot or PEXSurfaceInterpNormal, then the implementation samples texture map texels once per pixel.
If you specify an unsupported texture mapping sample frequency, then the frequency defaults to PEXSampleFrequencyPixel.
The texture mapping sample frequency function is a member of the styled and shaded surface attribute set.
For an overview and for a list of all output attribute functions, see Output Attribute Functions.