Help us shape the future of Go! Take the 2026 Go Developer Survey

computegraph

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Rendered for darwin/amd64

Overview

Package computegraph provides a fluent Go API over the macOS ComputeGraph framework.

Construction

New… functions create objects; each With… method sets one property and returns its receiver, so configuration calls chain. A <Type>FromID constructor adopts an Objective-C object obtained elsewhere.

Lifecycle

A wrapper releases its Objective-C object automatically once the garbage collector finds it unreachable. Call Release to relinquish the reference deterministically (for objects holding scarce resources); Release is idempotent, and afterwards the wrapper's methods are no-ops returning zero values.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MouseParams

type MouseParams struct {
	Position  unsafe.Pointer
	Direction unsafe.Pointer
	HasValue  bool
}

Parameters describing mouse interaction in 3D space.

type Viewpoint

type Viewpoint struct {
	Position     unsafe.Pointer
	Direction    unsafe.Pointer
	HasPosition  bool
	HasDirection bool
}

Camera viewpoint parameters in 3D space. This structure represents a camera or observer's position and viewing direction, with optional availability flags for each component. This allows partial viewpoint information to be represented when only position or direction is known.

Jump to

Keyboard shortcuts

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