struct BSDF::Single

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(bxdf, normal : Normal) #

[View source]

Instance Method Detail

def bxdf : BxDF #

[View source]
def bxdf=(bxdf : 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) #

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

[View source]