formZ SDK | 5.0 API Reference | Project | Modeling | Rendering | Shaders
Description
Returns whether or not the current call to the shader's shade pixel function is using a ray that has been reflected or refracted. If neither, the ray originates from the eye.
Plugin Prototype
fzrt_error_td fz_shdr_raytrace_depth(
is_refl, | |
is_refr ) |
Parameters
is_refl [Result, Optional]
Whether or not the ray has been reflected.
is_refr [Result, Optional]
Whether or not the ray has been refracted.
Returns
Error codes.
Availability
5.0.0.0
Function Set
Defined in