Documentation
¶
Index ¶
- func NewQuadExpression[Q Quad](expr Expression) Q
- func Set(ptr Pointer, val Evaluator)
- type AnyBool
- type AnyFloat
- type AnyInt
- type AnyUint
- type Bool
- type Evaluator
- type Expression
- type Float
- type FunctionCall
- type Identifier
- type Int
- type Mat2
- type Mat3
- type Mat4
- type Operation
- type Output
- type Pointer
- type Quad
- type RGB
- type RGBA
- type Ternary
- type Uint
- type Vec2
- type Vec2b
- type Vec2i
- type Vec2u
- type Vec3
- type Vec3b
- type Vec3i
- type Vec3u
- type Vec4
- type Vec4b
- type Vec4i
- type Vec4u
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewQuadExpression ¶
func NewQuadExpression[Q Quad](expr Expression) Q
Types ¶
type Bool ¶
type Bool = struct { X bool // contains filtered or unexported fields }
func NewBoolExpression ¶
func NewBoolExpression(e Expression) Bool
type Expression ¶
type Expression struct {
// contains filtered or unexported fields
}
func Fn ¶
func Fn(name string, args ...Evaluator) Expression
func New ¶
func New(e Evaluator) Expression
func Out ¶
func Out(t string) Expression
type Float ¶
type Float = struct { X float64 // contains filtered or unexported fields }
func NewFloatExpression ¶
func NewFloatExpression(e Expression) Float
type FunctionCall ¶
type Identifier ¶
type Identifier string
type Int ¶
type Int = struct { X int // contains filtered or unexported fields }
func NewIntExpression ¶
func NewIntExpression(e Expression) Int
type Mat2 ¶
type Mat2 = struct { Columns [2][2]Float // contains filtered or unexported fields }
func NewMat2Expression ¶
func NewMat2Expression(e Expression) Mat2
type Mat3 ¶
type Mat3 = struct { Columns [3][3]Float // contains filtered or unexported fields }
func NewMat3Expression ¶
func NewMat3Expression(e Expression) Mat3
type Mat4 ¶
type Mat4 = struct { Columns [4][4]Float // contains filtered or unexported fields }
func NewMat4Expression ¶
func NewMat4Expression(e Expression) Mat4
type RGB ¶
type RGB = struct {
R, G, B Float
// contains filtered or unexported fields
}
func NewRGBExpression ¶
func NewRGBExpression(e Expression) RGB
type RGBA ¶
type RGBA = struct {
R, G, B, A Float
// contains filtered or unexported fields
}
func NewRGBAExpression ¶
func NewRGBAExpression(e Expression) RGBA
type Uint ¶
type Uint = struct { X uint // contains filtered or unexported fields }
func NewUintExpression ¶
func NewUintExpression(e Expression) Uint
type Vec2 ¶
type Vec2 = struct {
X, Y Float
// contains filtered or unexported fields
}
func NewVec2Expression ¶
func NewVec2Expression(e Expression) Vec2
type Vec2b ¶
type Vec2b = struct {
X, Y Bool
// contains filtered or unexported fields
}
func NewVec2bExpression ¶
func NewVec2bExpression(e Expression) Vec2b
type Vec2i ¶
type Vec2i = struct {
X, Y Int
// contains filtered or unexported fields
}
func NewVec2iExpression ¶
func NewVec2iExpression(e Expression) Vec2i
type Vec2u ¶
type Vec2u = struct {
X, Y Uint
// contains filtered or unexported fields
}
func NewVec2uExpression ¶
func NewVec2uExpression(e Expression) Vec2u
type Vec3 ¶
type Vec3 = struct {
X, Y, Z Float
// contains filtered or unexported fields
}
func NewVec3Expression ¶
func NewVec3Expression(e Expression) Vec3
type Vec3b ¶
type Vec3b = struct {
X, Y, Z Bool
// contains filtered or unexported fields
}
func NewVec3bExpression ¶
func NewVec3bExpression(e Expression) Vec3b
type Vec3i ¶
type Vec3i = struct {
X, Y, Z Int
// contains filtered or unexported fields
}
func NewVec3iExpression ¶
func NewVec3iExpression(e Expression) Vec3i
type Vec3u ¶
type Vec3u = struct {
X, Y, Z Uint
// contains filtered or unexported fields
}
func NewVec3uExpression ¶
func NewVec3uExpression(e Expression) Vec3u
type Vec4 ¶
type Vec4 = struct {
X, Y, Z, W Float
// contains filtered or unexported fields
}
func NewVec4Expression ¶
func NewVec4Expression(e Expression) Vec4
type Vec4b ¶
type Vec4b = struct {
X, Y, Z, W Bool
// contains filtered or unexported fields
}
func NewVec4bExpression ¶
func NewVec4bExpression(e Expression) Vec4b
type Vec4i ¶
type Vec4i = struct {
X, Y, Z, W Int
// contains filtered or unexported fields
}
func NewVec4iExpression ¶
func NewVec4iExpression(e Expression) Vec4i
Click to show internal directories.
Click to hide internal directories.