Snapshot · Nov 21, 2026

Renderer/Foundation/Types/Formats.h

Public include <Renderer/Foundation/Types/Formats.h>. SnBuild module Foundation.

SnAPI::Renderer::ETextureFormat

enum class SnAPI::Renderer::ETextureFormat : std::uint16_t

Unknown = 0

RGBA8UNorm

RGBA8SRGB

BGRA8UNorm

BGRA8SRGB

RGB10A2UNorm

BGR10A2UNorm

RGBA16Float

R16G16Float

R16Float

R32Float

R32UInt

RGBA32Float

BC1RGBAUNorm

BC1RGBASRGB

BC2RGBAUNorm

BC2RGBASRGB

BC3RGBAUNorm

BC3RGBASRGB

BC4RUNorm

BC4RSNorm

BC5RGUNorm

BC5RGSnorm

BC6HUFloat

BC6HSFloat

BC7RGBAUNorm

BC7RGBASRGB

Depth32Float

R32G32Float

SnAPI::Renderer::IsBlockCompressedTextureFormat

constexpr bool SnAPI::Renderer::IsBlockCompressedTextureFormat(ETextureFormat format) noexcept

See also SnAPI::Renderer::ETextureFormat.

SnAPI::Renderer::TextureFormatBlockWidth

constexpr std::uint32_t SnAPI::Renderer::TextureFormatBlockWidth(ETextureFormat format) noexcept

See also SnAPI::Renderer::ETextureFormat.

SnAPI::Renderer::TextureFormatBlockHeight

constexpr std::uint32_t SnAPI::Renderer::TextureFormatBlockHeight(ETextureFormat format) noexcept

See also SnAPI::Renderer::ETextureFormat.

SnAPI::Renderer::TextureFormatBytesPerBlock

constexpr std::uint32_t SnAPI::Renderer::TextureFormatBytesPerBlock(ETextureFormat format) noexcept

See also SnAPI::Renderer::ETextureFormat.

SnAPI::Renderer::TextureFormatStorageBytes

constexpr std::uint64_t SnAPI::Renderer::TextureFormatStorageBytes(ETextureFormat format, std::uint32_t width, std::uint32_t height, std::uint32_t depth=1u) noexcept

See also SnAPI::Renderer::ETextureFormat.