controller

package
v0.0.0-...-c352d6b Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(args []string) int

Types

type Handler

type Handler struct {
	Scene      *model.Scene
	Script     *parser.Script
	ScriptPath string
	Camera     camera.RayCamera
	Context    RenderContext
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler() *Handler

func (*Handler) ConfigureRenderContext

func (h *Handler) ConfigureRenderContext(context RenderContext) *Handler

func (*Handler) LoadScript

func (h *Handler) LoadScript() *Handler

func (*Handler) ParseArgs

func (h *Handler) ParseArgs(args []string) *Handler

func (*Handler) Render

func (h *Handler) Render() *Handler

func (*Handler) Renders

func (h *Handler) Renders() *Handler

func (*Handler) SaveFilm

func (h *Handler) SaveFilm(filename string) *Handler

type RenderContext

type RenderContext struct {
	Integrator         string
	BDPTFallbackPolicy string
	Dimension          int
	CameraID           string
	ThreadNum          int
	Samples            int64
	OutputFilm         string
	SpectrumMode       string
	WavelengthSamples  int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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