struct BSDF::Sample

Defined in:

bsdf.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(color : Color, dir : Vector, pdf : Float64, type : BxDF::Type) #

[View source]

Instance Method Detail

def clone #

[View source]
def color : Color #

def dir : Vector #

def pdf : Float64 #

def relevant? #

[View source]
def type : BxDF::Type #