controller

package
v0.0.0-...-98f3f52 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: Apache-2.0 Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveRenderJob

func ResolveRenderJob(render parser.RenderScript, scene *model.Scene) (ray_tracing.RenderJob, error)

ResolveRenderJob is the only render-default and scene-binding boundary. The returned job is complete and can be passed unchanged to ray tracing.

func Run

func Run(args []string) int

Types

type Handler

type Handler struct {
	Scene      *model.Scene
	Script     *parser.Script
	ScriptPath string
	Job        ray_tracing.RenderJob
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler() *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() *Handler

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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