exp: golang.org/x/exp/shiny/driver/internal/swizzle Index | Files

package swizzle

import "golang.org/x/exp/shiny/driver/internal/swizzle"

Package swizzle provides functions for converting between RGBA pixel formats.

Index

Package Files

swizzle_amd64.go swizzle_common.go

func BGRA Uses

func BGRA(p []byte)

BGRA converts a pixel buffer between Go's RGBA and other systems' BGRA byte orders.

It panics if the input slice length is not a multiple of 4.

Package swizzle is imported by 2 packages. Updated 2017-10-04. Refresh now. Tools for package owners.