Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type FrameStats ¶
type FrameStats struct { // Individual tracer stats. Tracers []TracerStat // Total render time for entire frame. RenderTime time.Duration }
type Options ¶
type Options struct { // Frame dims. FrameW uint32 FrameH uint32 // Number of indirect bounces. NumBounces uint32 // Min bounces before applying russian roulette for path elimination. MinBouncesForRR uint32 // Number of samples. SamplesPerPixel uint32 // Exposure for tonemapping. Exposure float32 // Device selection. BlackListedDevices []string ForcePrimaryDevice string }
type Renderer ¶
type Renderer interface { // Render frame. Render() error // Shutdown renderer and any attached tracer. Close() // Get render statistics. Stats() FrameStats }
Click to show internal directories.
Click to hide internal directories.