abstract class Background

Overview

Backgrounds are used to determine the color of a Ray if it misses all objects in the Scene.

Direct Known Subclasses

Defined in:

background.cr
backgrounds/atmosphere.cr
backgrounds/constant.cr
backgrounds/cube_map.cr
backgrounds/sky.cr

Instance Method Summary

Instance Method Detail

abstract def get(ray : Ray) : Color #

[View source]