BSDF_CookTorrance Class Referencefinal
Inheritance diagram for BSDF_CookTorrance:
BSDF GeneralizedBSDF Asset Clonable Component SIMDAlignedType

Public Member Functions

 LM_IMPL_CLASS (BSDF_CookTorrance, BSDF)
 
 LM_IMPL_F (Load)
 
 LM_IMPL_F (Type)
 
 LM_IMPL_F (SampleDirection)
 
 LM_IMPL_F (EvaluateDirectionPDF)
 
 LM_IMPL_F (EvaluateDirection)
 
- Public Member Functions inherited from BSDF
 LM_INTERFACE_CLASS (BSDF, GeneralizedBSDF, 0)
 
 LM_DISABLE_COPY_AND_MOVE (BSDF)
 
- Public Member Functions inherited from GeneralizedBSDF
 LM_INTERFACE_CLASS (GeneralizedBSDF, Asset, 4)
 
 LM_DISABLE_COPY_AND_MOVE (GeneralizedBSDF)
 
 LM_INTERFACE_F (0, Type, int())
 Generalized BSDF type. More...
 
 LM_INTERFACE_F (1, SampleDirection, void(const Vec2 &u, Float uComp, int queryType, const SurfaceGeometry &geom, const Vec3 &wi, Vec3 &wo))
 Sample outgoing vector. More...
 
 LM_INTERFACE_F (2, EvaluateDirectionPDF, Float(const SurfaceGeometry &geom, int queryType, const Vec3 &wi, const Vec3 &wo, bool evalDelta))
 Evaluate PDF with the direction. More...
 
 LM_INTERFACE_F (3, EvaluateDirection, SPD(const SurfaceGeometry &geom, int types, const Vec3 &wi, const Vec3 &wo, TransportDirection transDir, bool evalDelta))
 Evaluate generalized BSDF. More...
 
- Public Member Functions inherited from Asset
 LM_INTERFACE_CLASS (Asset, Clonable, 2)
 
 LM_DISABLE_COPY_AND_MOVE (Asset)
 
 LM_INTERFACE_F (0, Load, bool(const PropertyNode *prop, Assets *assets, const Primitive *primitive))
 Load an asset from a property node. More...
 
 LM_INTERFACE_F (1, PostLoad, bool(const Scene *scene))
 Post processing of the asset. More...
 
- Public Member Functions inherited from Clonable
 LM_INTERFACE_CLASS (Clonable, Component, 1)
 
 LM_DISABLE_COPY_AND_MOVE (Clonable)
 
 LM_INTERFACE_F (0, Clone, void(Clonable *o))
 Clone the instalce. More...
 
- Public Member Functions inherited from SIMDAlignedType
void * operator new (std::size_t size) throw (std::bad_alloc)
 
void operator delete (void *p)
 

Public Attributes

SPD R_
 
const TexturetexR_ = nullptr
 
SPD eta_
 
SPD k_
 
Float roughness_