Documentation
¶
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 ¶
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.