Blender  V2.93
Public Member Functions | List of all members
CBSDFClosure Class Reference

#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
 

Detailed Description

Definition at line 123 of file osl_closures.h.

Member Function Documentation

◆ skip()

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.


The documentation for this class was generated from the following files: