package
Version:
v0.0.0-...-7325ca5
Opens a new window with list of versions in this module.
Published: Jan 31, 2025
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Pacakge bvec4 provides GPU operations on four-component boolean vectors.
-
func All(a XYZW) gpu.Bool
-
func Any(a XYZW) gpu.Bool
-
func Mix(a, b gpu.Vec4, t XYZW) gpu.Vec4
-
type XYZW
-
func And(a, b XYZW) XYZW
-
func Eq(a, b XYZW) XYZW
-
func Neq(a, b XYZW) XYZW
-
func New[X, Y, Z, W gpu.AnyBool](x X, y Y, z Z, w W) XYZW
-
func Not(a XYZW) XYZW
-
func Or(a, b XYZW) XYZW
XYZW is a four-component vector of booleans on the GPU.
New creates a new [XY] value from three booleans.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.