Foray Library
rapid prototyping framework for crossplatform development of vulkan hardware ray tracing applications
|
Describes the traits of a component type. More...
#include <foray_imageformattraits.hpp>
Public Types | |
using | COMPONENT = COMPONENT_T |
Component type. | |
Static Public Attributes | |
static constexpr uint32_t | SIZE = sizeof(COMPONENT) |
Size (bytes) of the component. | |
static constexpr COMPONENT | ALPHA_FALLBACK = (COMPONENT)ALPHA_FALLBACK_ |
Full opacity alpha fallback value. | |
static constexpr bool | IS_FLOAT = IS_FLOAT_ |
True if the internal representation is a floating point value. | |
static constexpr bool | IS_SIGNED = IS_SIGNED_ |
True if the internal representation supports negative values. | |
Describes the traits of a component type.
COMPONENT_T | Machine typoe of the component |
ALPHA_FALLBACK | Fallback for full opacity alpha if no value is provided |
using foray::util::ComponentTraits< COMPONENT_T, ALPHA_FALLBACK_, IS_FLOAT_, IS_SIGNED_ >::COMPONENT = COMPONENT_T |
Component type.
|
inlinestaticconstexpr |
Full opacity alpha fallback value.
|
inlinestaticconstexpr |
True if the internal representation is a floating point value.
|
inlinestaticconstexpr |
True if the internal representation supports negative values.
|
inlinestaticconstexpr |
Size (bytes) of the component.