Q3Shader_GetUBoundary
You can use theQ3Shader_GetUBoundaryfunction to get the current boundary-handling method for u values that are outside the range 0 to 1.
TQ3Status Q3Shader_GetUBoundary ( TQ3ShaderObject shader, TQ3ShaderUVBoundary *uBoundary);
shader- A shader.
uBoundary- On exit, a value that indicates the current method of handling u values that are outside the range 0 to 1. See "Boundary-Handling Methods" on page 14-16 for a description of the values that can be returned.
DESCRIPTION
TheQ3Shader_GetUBoundaryfunction returns, in theuBoundaryparameter, the current method used by the shader specified by theshaderparameter of handling u values that are outside the range 0 to 1. IfQ3Shader_GetUBoundarycompletes successfully, theuBoundaryparameter contains one of these values:
typedef enum TQ3ShaderUVBoundary { kQ3ShaderUVBoundaryWrap, kQ3ShaderUVBoundaryClamp } TQ3ShaderUVBoundary;
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help