MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ ImageFormat

enum class MayaFlux::Portal::Graphics::ImageFormat : uint8_t
strong

User-friendly image format enum.

Abstracts Vulkan formats for Portal API convenience. Maps to vk::Format internally.

Enumerator
R8 

Single channel 8-bit.

RG8 

Two channel 8-bit.

RGB8 

Three channel 8-bit.

RGBA8 

Four channel 8-bit.

RGBA8_SRGB 

Four channel 8-bit sRGB.

R16F 

Single channel 16-bit float.

RG16F 

Two channel 16-bit float.

RGBA16F 

Four channel 16-bit float.

R32F 

Single channel 32-bit float.

RG32F 

Two channel 32-bit float.

RGBA32F 

Four channel 32-bit float.

DEPTH16 

16-bit depth

DEPTH24 

24-bit depth

DEPTH32F 

32-bit float depth

DEPTH24_STENCIL8 

24-bit depth + 8-bit stencil

Definition at line 133 of file GraphicsUtils.hpp.

133 : uint8_t {
134 // Normalized formats
135 R8, ///< Single channel 8-bit
136 RG8, ///< Two channel 8-bit
137 RGB8, ///< Three channel 8-bit
138 RGBA8, ///< Four channel 8-bit
139 RGBA8_SRGB, ///< Four channel 8-bit sRGB
140
141 // Floating point formats
142 R16F, ///< Single channel 16-bit float
143 RG16F, ///< Two channel 16-bit float
144 RGBA16F, ///< Four channel 16-bit float
145 R32F, ///< Single channel 32-bit float
146 RG32F, ///< Two channel 32-bit float
147 RGBA32F, ///< Four channel 32-bit float
148
149 // Depth/stencil formats
150 DEPTH16, ///< 16-bit depth
151 DEPTH24, ///< 24-bit depth
152 DEPTH32F, ///< 32-bit float depth
153 DEPTH24_STENCIL8 ///< 24-bit depth + 8-bit stencil
154};
@ DEPTH24_STENCIL8
24-bit depth + 8-bit stencil
@ RGBA32F
Four channel 32-bit float.
@ R16F
Single channel 16-bit float.
@ RGBA16F
Four channel 16-bit float.
@ RG32F
Two channel 32-bit float.
@ R32F
Single channel 32-bit float.
@ RG16F
Two channel 16-bit float.
@ RGBA8_SRGB
Four channel 8-bit sRGB.