[][src]Module spectrusty_core::video::pixel

Building blocks for rendering pixel surfaces.

Structs

GrayscalePalA8R8G8B8

A grayscale ZX Spectrum Palette implementation to be used with PixelBufP32.

GrayscalePalARGB32

A grayscale ZX Spectrum Palette implementation to be used with PixelBufA32.

GrayscalePalR3G3B2

A grayscale ZX Spectrum Palette implementation to be used with PixelBufP8.

GrayscalePalR5G6B5

A grayscale ZX Spectrum Palette implementation to be used with PixelBufP16.

GrayscalePalR8G8B8A8

A grayscale ZX Spectrum Palette implementation to be used with PixelBufP32.

GrayscalePalRGB24

A grayscale ZX Spectrum Palette implementation to be used with PixelBufA24.

GrayscalePalRGBA32

A grayscale ZX Spectrum Palette implementation to be used with PixelBufA32.

PixelBufA24

A PixelBuffer tool for placing pixels into byte buffers using 3 u8 element arrays of color channels (3 bytes per pixel).

PixelBufA32

A PixelBuffer tool for placing pixels into byte buffers using 4 u8 element arrays of color channels (4 bytes per pixel).

PixelBufP8

A PixelBuffer tool for placing pixels into byte buffers using u8 packed color channels.

PixelBufP16

A PixelBuffer tool for placing pixels into byte buffers using u16 packed color channels.

PixelBufP32

A PixelBuffer tool for placing pixels into byte buffers using u32 packed color channels.

SpectrumPalA8R8G8B8

A color ZX Spectrum Palette implementation to be used with PixelBufP32.

SpectrumPalARGB32

A color ZX Spectrum Palette implementation to be used with PixelBufA32.

SpectrumPalR3G3B2

A color ZX Spectrum Palette implementation to be used with PixelBufP8.

SpectrumPalR5G6B5

A color ZX Spectrum Palette implementation to be used with PixelBufP16.

SpectrumPalR8G8B8A8

A color ZX Spectrum Palette implementation to be used with PixelBufP32.

SpectrumPalRGB24

A color ZX Spectrum Palette implementation to be used with PixelBufA24.

SpectrumPalRGBA32

A color ZX Spectrum Palette implementation to be used with PixelBufA32.

Traits

Palette

A trait used for obtaining pixel colors.

PixelBuffer

A trait for providing a way for placing pixels into byte buffers.