struct BSDF::Multi

Defined in:

bsdf.cr

Constructors

Instance Method Summary

Instance methods inherited from struct BSDF

diffuse? diffuse?, emitted(wo_world) : Color emitted, f(wo_world : Vector, wi_world : Vector, flags : BxDF::Type) : Color f, glossy? glossy?, matches_flags?(flags : BxDF::Type) matches_flags?, num_components(flags = BxDF::Type::All) : Int32 num_components, pdf(wo : Vector, wi : Vector, flags = BxDF::Type::All) : Float64 pdf, sample_f(wo_world : Vector, flags : BxDF::Type) : Sample? sample_f

Constructor methods inherited from struct BSDF

new new

Constructor Detail

def self.new(bxdfs, normal : Normal) #

[View source]

Instance Method Detail

def bxdfs : Array(BxDF) #

[View source]
def bxdfs=(bxdfs : Array(BxDF)) #

[View source]
def emitted(wo_world) #

[View source]
def f(wo_world : Vector, wi_world : Vector, flags : BxDF::Type) : Color #

[View source]
def num_components(flags = BxDF::Type::All) #

[View source]
def pdf(wo_world : Vector, wi_world : Vector, flags = BxDF::Type::All) : Float64 #

[View source]
def sample_f(wo_world : Vector, flags : BxDF::Type) #

[View source]