Plush

RadianceHdr#

PlushEngine · Type index

Namespace: PlushEngine

Radiance RGBE (.hdr) reader: "-Y h +X w" orientation, new-style run-length or flat scanlines.

public static class RadianceHdr

Members: Decode · Encode

Decode#

public static (int Width, int Height, Half[] Rgba) Decode(byte[] data);

Encode#

public static byte[] Encode(int width, int height, Half[] rgba);

Writes linear RGBA half floats as a flat (unencoded) RGBE .hdr: what Decode reads back.

Source#