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

Inherits CClosurePrimitive.

Public Member Functions

void setup (ShaderData *sd, int, 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 70 of file kernel/osl/background.cpp.

Member Function Documentation

◆ setup()

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

Implements CClosurePrimitive.

Definition at line 72 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: