rgba

package
v0.0.0-...-357ca8a Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package rgba provides a constructor for vec4.RGBA values.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add[T gpu.AnyFloat | vec4.RGBA](a vec4.RGBA, b T) vec4.RGBA

func Div

func Div[T gpu.AnyFloat | vec4.RGBA](a vec4.RGBA, b T) vec4.RGBA

func Mul

func Mul[T gpu.AnyFloat | vec4.RGBA](a vec4.RGBA, b T) vec4.RGBA

func Neg

func Neg(a vec4.RGBA) vec4.RGBA

func New

func New[R, G, B, A gpu.AnyFloat](r R, g G, b B, a A) vec4.RGBA

func Sub

func Sub[T gpu.AnyFloat | vec4.RGBA](a vec4.RGBA, b T) vec4.RGBA

Types

This section is empty.

Jump to

Keyboard shortcuts

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