render

package
v0.0.0-...-9165eb6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2022 License: CC0-1.0 Imports: 10 Imported by: 0

Documentation

Overview

Package render implements the main rendering loop.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Render

func Render(cam *camera.Camera, world *hitable.HitableSlice, canvas *image.NRGBA, numSamples int, numWorkers int)

Render performs the rendering task spread across 1 or more worker goroutines.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL