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

Public Member Functions

void setup (ShaderData *sd, uint32_t, float3 weight)
 
- Public Member Functions inherited from CBSDFClosure
bool skip (const ShaderData *sd, uint32_t path_flag, int scattering)
 

Public Attributes

PhongRampBsdf params
 
Color3 colors [8]
 
- Public Attributes inherited from CClosurePrimitive
OSL::ustring label
 

Detailed Description

Definition at line 27 of file bsdf_phong_ramp.cpp.

Member Function Documentation

◆ setup()

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

Implements CClosurePrimitive.

Definition at line 32 of file bsdf_phong_ramp.cpp.

References closure_alloc_extra(), ensure_valid_reflection(), params, and TO_FLOAT3.

Member Data Documentation

◆ colors

Color3 PhongRampClosure::colors[8]

Definition at line 30 of file bsdf_phong_ramp.cpp.

◆ params

PhongRampBsdf PhongRampClosure::params

Definition at line 29 of file bsdf_phong_ramp.cpp.


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