format

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2018 License: Unlicense Imports: 0 Imported by: 3

Documentation

Index

Constants

View Source
const A8 = Colour(8)

A8

View Source
const ABGR8888 = Colour(1)

ABGR (4bytes)

View Source
const ARGB8888 = Colour(11)

ARGB (4bytes)

View Source
const BGR565 = Colour(17)

BGR (2bytes)

View Source
const BGR888 = Colour(3)

BGR (3bytes)

View Source
const BGR888_BLUESCREEN = Colour(10)

RBGR (3bytes)

View Source
const BGRA4444 = Colour(19)

BGRA (2bytes)

View Source
const BGRA5551 = Colour(21)

BGRA opacity either 0% or 100% (2bytes)

View Source
const BGRA8888 = Colour(12)

BGRA (4bytes)

View Source
const BGRX5551 = Colour(18)

BGRX - X may not be alpha (2bytes)

View Source
const BGRX8888 = Colour(16)

BGRX - X may not be alpha (4bytes)

View Source
const Dxt1 = Colour(13)

Dxt1

View Source
const Dxt1_OneBitAlpha = Colour(20)

Dxt1 - with alpha

View Source
const Dxt3 = Colour(14)

Dxt3

View Source
const Dxt5 = Colour(15)

Dxt5

View Source
const I8 = Colour(5)

I8

View Source
const IA88 = Colour(6)

IA88

View Source
const P8 = Colour(7)

P8

View Source
const RGB565 = Colour(4)

RGB (2bytes)

View Source
const RGB888 = Colour(2)

RGB (3bytes)

View Source
const RGB888_BLUESCREEN = Colour(9)

RGB (3bytes)

View Source
const RGBA16161616 = Colour(25)

RGBA (8bytes)

View Source
const RGBA16161616F = Colour(24)

RGBA (8bytes) as floats

View Source
const RGBA8888 = Colour(0)

RGBA (4bytes)

View Source
const UV88 = Colour(22)

UV (2bytes)

View Source
const UVLX8888 = Colour(26)

UVLX (8bytes)

View Source
const UVWQ8888 = Colour(23)

UV (4bytes)

Variables

This section is empty.

Functions

This section is empty.

Types

type Colour

type Colour uint32

Colour: A pixel format that colour data is stored in

Jump to

Keyboard shortcuts

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