Foray Library
rapid prototyping framework for crossplatform development of vulkan hardware ray tracing applications
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs
foray_imageformattraits.hpp File Reference
#include "../foray_basics.hpp"
#include "../foray_vulkan.hpp"
#include <limits>

Go to the source code of this file.

Classes

class  foray::util::ComponentTraits< COMPONENT_T, ALPHA_FALLBACK_, IS_FLOAT_, IS_SIGNED_ >
 Describes the traits of a component type. More...
 
class  foray::util::ImageFormatTraits< FORMAT >
 Describes the traits of a VkFormat value. More...
 

Namespaces

namespace  foray
 
namespace  foray::util
 

Typedefs

using foray::util::ComponentTraits_None = ComponentTraits< std::nullptr_t, nullptr, false, false >
 
using foray::util::ComponentTraits_Fp16 = ComponentTraits< uint16_t, 0x3C00, true, true >
 16 bit float component type (1 component per channel)
 
using foray::util::ComponentTraits_Fp32 = ComponentTraits< uint32_t, 0x3F800000, true, true >
 32 bit float component type (1 component per channel)
 
using foray::util::ComponentTraits_Fp64 = ComponentTraits< uint64_t, 0x3FF0000000000000, true, true >
 64 bit float component type (1 component per channel)
 
using foray::util::ComponentTraits_UInt32 = ComponentTraits< uint32_t, std::numeric_limits< uint32_t >::max(), false, false >
 32 bit unsigned integer component type (1 component per channel)
 
using foray::util::ComponentTraits_UInt8 = ComponentTraits< uint8_t, std::numeric_limits< uint8_t >::max(), false, false >
 8 bit unsigned integer component type (1 component per channel)
 
using foray::util::ComponentTraits_PackedAlpha2Color30 = ComponentTraits< uint32_t, 0b11, false, false >
 32 bit unsigned integer packed component type (2 bits alpha, 30 bits color, 1 component per texel, multiple channels per component)