Skip to content

Types

Description

Type aliases used by Daxa. They need to be included using the <daxa/types.hpp> header using the C++ API. For simplicity, you can remove the need to use the Daxa namespace prefix when using these values by using the daxa::types namespace: using namespace daxa::types;

Values

ValueDescriptionAlias
u88-bit unsigned integerstd::uint8_t
u1616-bit unsigned integerstd::uint16_t
u3232-bit unsigned integerstd::uint32_t
u6464-bit unsigned integerstd::uint64_t
usizestd::size_t
b32daxa::u32
i88-bit signed integerstd::int8_t
i1616-bit signed integerstd::int16_t
i3232-bit signed integerstd::int32_t
i6464-bit signed integerstd::int64_t
isizestd::ptrdiff_t
f3232-bit precision floating point numberfloat
f6464-bit precision floating point numberdouble
DeviceAddress64-bit unsigned device addressdaxa::u64