Blender  V3.3
Public Member Functions | List of all members
HoldoutClosure Class Reference
Inheritance diagram for HoldoutClosure:
CClosurePrimitive

Public Member Functions

void setup (ShaderData *sd, uint32_t, float3 weight)
 

Detailed Description

Holdout closure

This will be used by the shader to mark the amount of holdout for the current shading point. No parameters, only the weight will be used

Definition at line 46 of file kernel/osl/background.cpp.

Member Function Documentation

◆ setup()

void HoldoutClosure::setup ( ShaderData sd,
uint32_t  ,
float3  weight 
)
inlinevirtual

Implements CClosurePrimitive.

Definition at line 48 of file kernel/osl/background.cpp.

References closure_alloc(), CLOSURE_HOLDOUT_ID, SD_HOLDOUT, and ShaderClosure.


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