|
Foray Library
rapid prototyping framework for crossplatform development of vulkan hardware ray tracing applications
|
Describes the traits of a VkFormat value. More...
#include <foray_imageformattraits.hpp>
Public Types | |
| using | COMPONENT_TRAITS = ComponentTraits_None |
| Traits of the component. | |
Static Public Attributes | |
| static constexpr uint32_t | COMPONENT_COUNT = 0 |
| Count of components per texel (determines which channels it can represent) | |
| static constexpr uint32_t | COMPONENT_STRIDE = 4 |
| The stride in component base type (may differ from component count for packed types) | |
| static constexpr uint32_t | BYTESTRIDE = COMPONENT_TRAITS::SIZE * COMPONENT_COUNT |
| Stride (bytes) per texel. | |
Describes the traits of a VkFormat value.
| using foray::util::ImageFormatTraits< FORMAT >::COMPONENT_TRAITS = ComponentTraits_None |
Traits of the component.
|
inlinestaticconstexpr |
Stride (bytes) per texel.
|
inlinestaticconstexpr |
Count of components per texel (determines which channels it can represent)
|
inlinestaticconstexpr |
The stride in component base type (may differ from component count for packed types)