Documentation ¶
Overview ¶
Package render implements the main rendering loop.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Renderer ¶
type Renderer struct {
// contains filtered or unexported fields
}
Renderer represents a renderer config.
func New ¶
func New(scene *scene.Scene, sizeX int, sizeY int, numSamples int, maxDepth int, background *vec3.Vec3Impl, ink *vec3.Vec3Impl, numWorkers int, verbose bool, previewChan chan display.DisplayTile, preview bool, samplerType sampler.SamplerType) *Renderer
New returns a new instance of a renderer.
Click to show internal directories.
Click to hide internal directories.