|
Blender
V2.93
|
#include <osl_closures.h>
Inherits CClosurePrimitive.
Inherited by DiffuseRampClosure, MicrofacetClosure, MicrofacetFresnelClosure, MicrofacetMultiClosure, MicrofacetMultiFresnelClosure, PhongRampClosure, PrincipledClearcoatClosure, PrincipledHairClosure, PrincipledSheenClosure, TransparentClosure, VolumeAbsorptionClosure, and VolumeHenyeyGreensteinClosure.
Public Member Functions | |
| bool | skip (const ShaderData *sd, int path_flag, int scattering) |
Public Member Functions inherited from CClosurePrimitive | |
| virtual void | setup (ShaderData *sd, int path_flag, float3 weight)=0 |
Additional Inherited Members | |
Public Attributes inherited from CClosurePrimitive | |
| OSL::ustring | label |
Definition at line 123 of file osl_closures.h.
| bool CBSDFClosure::skip | ( | const ShaderData * | sd, |
| int | path_flag, | ||
| int | scattering | ||
| ) |
Definition at line 499 of file osl_closures.cpp.
References kernel_data, kg, LABEL_GLOSSY, LABEL_REFLECT, LABEL_TRANSMIT, and PATH_RAY_DIFFUSE.