Skip to content

Class DebugColor

Namespace: Apogee.Core.Graphics
Assembly: Apogee.Core.dll

Colors for : bytes r, g, b, a packed as a little-endian (0xAABBGGRR).

public static class DebugColor

Inheritance

object ← DebugColor

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Properties

Blue

public static uint Blue { get; }

Property Value

uint

Cyan

public static uint Cyan { get; }

Property Value

uint

Gray

public static uint Gray { get; }

Property Value

uint

Green

public static uint Green { get; }

Property Value

uint

Magenta

public static uint Magenta { get; }

Property Value

uint

Orange

public static uint Orange { get; }

Property Value

uint

Red

public static uint Red { get; }

Property Value

uint

White

public static uint White { get; }

Property Value

uint

Yellow

public static uint Yellow { get; }

Property Value

uint

Methods

FromVector(Vector4)

public static uint FromVector(Vector4 color)

Parameters

color Vector4

Returns

uint

Rgba(byte, byte, byte, byte)

public static uint Rgba(byte r, byte g, byte b, byte a = 255)

Parameters

r byte

g byte

b byte

a byte

Returns

uint