nCine/Graphics/RHI/RDP/RdpTexture.h file

Namespaces

namespace nCine
Root namespace of nCine game engine.
namespace nCine::RHI
Render Hardware Interface — compile-time-selectable graphics backend abstraction.
namespace nCine::RHI::RDP
Nintendo 64 fixed-function Reality Display Processor backend, selected by WITH_RHI_RDP.

Classes

class nCine::RHI::RDP::RdpTexture
Texture object of the RDP backend (aliased as RHI::Texture).

Functions

auto HashPaletteRow(const std::uint32_t* row) -> std::uint64_t
Fingerprint of one 256-entry palette row, used to tell a real palette change from a bump.
auto Pack5551(std::uint8_t r, std::uint8_t g, std::uint8_t b, std::uint8_t a) -> std::uint16_t
Packs one 8-bit-per-channel colour into RGBA5551, the packing FMT_RGBA16 stores and the TLUTs use.