Q3IlluminationShader_GetType
You can use theQ3IlluminationShader_GetTypefunction to get the type of an illumination shader.
TQ3ObjectType Q3IlluminationShader_GetType ( TQ3ShaderObject shader);
shader- An illumination shader.
DESCRIPTION
TheQ3IlluminationShader_GetTypefunction returns, as its function result, the type of the illumination shader specified by theshaderparameter. The types of illumination shaders currently supported by QuickDraw 3D are defined by these constants:
kQ3IlluminationTypeLambert kQ3IlluminationTypePhong kQ3IlluminationTypeNULLIf the specified illumination shader is invalid or is not one of these types,Q3IlluminationShader_GetTypereturns the valuekQ3ObjectTypeInvalid.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help