bvec4

package
v0.0.0-...-7325ca5 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Pacakge bvec4 provides GPU operations on four-component boolean vectors.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All(a XYZW) gpu.Bool

func Any

func Any(a XYZW) gpu.Bool

func Mix

func Mix(a, b gpu.Vec4, t XYZW) gpu.Vec4

Types

type XYZW

type XYZW gpu.Vec4b

XYZW is a four-component vector of booleans on the GPU.

func And

func And(a, b XYZW) XYZW

func Eq

func Eq(a, b XYZW) XYZW

func Neq

func Neq(a, b XYZW) XYZW

func New

func New[X, Y, Z, W gpu.AnyBool](x X, y Y, z Z, w W) XYZW

New creates a new [XY] value from three booleans.

func Not

func Not(a XYZW) XYZW

func Or

func Or(a, b XYZW) XYZW

Jump to

Keyboard shortcuts

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