#define CE_SCRIPT_EXPORT(...)
The CE_SCRIPT_EXPORT macro marks a class or method as exportable and available in scripting environme...
Definition Macros.hpp:247
Tuple is a fixed-size collection of heterogeneous values.
Definition Tuple.hpp:15
Definition Application.hpp:19
bool isNormalizedFormat(Format format) noexcept
Returns true if the specified hardware format is a normalized format (like Format::RGBA8UNorm,...
bool isStencilFormat(Format format) noexcept
Returns true if the specified hardware format is a stencil format, i.e.
Precision
Definition GPUFormat.hpp:22
@ Float32
A image that represents each channel using 32 bit floats.
@ Float16
A image that represents each channel using 16 bit floats.
@ Uint8
A image that represents each channel using 8 bits.
UInt32 dataTypeSize(DataType dataType) noexcept
Returns the size (in bytes) of the specified data type.
bool isIntDataType(DataType dataType) noexcept
Determines if the argument refers to a signed integer data type.
bool isFloatDataType(DataType dataType) noexcept
Determines if the argument refers to a floating-pointer data type.
bool isDepthStencilFormat(Format format) noexcept
Returns true if the specified hardware format is a depth or depth-stencil format, i....
Format
Definition TextureFormat.hpp:54
UInt32 formatBitSize(Format format) noexcept
Returns the bit size of the specified hardware format.
std::int32_t Int32
Definition DataTypes.hpp:21
std::uint16_t UInt16
Definition DataTypes.hpp:20
std::uint8_t UInt8
Definition DataTypes.hpp:17
bool isIntegralFormat(Format format) noexcept
Returns true if the specified hardware format is an integral format (like Format::RGBA8UInt,...
bool isFloatFormat(Format format) noexcept
Returns true if the specified hardware format is a floating-point format (like Format::RGBA32Float,...
DataType
Renderer data types enumeration.
Definition GPUFormat.hpp:109
@ Float64
64-bit real type (double).
Tuple< DataType, UInt32 > splitFormat(Format format) noexcept
Splits the specified hardware format into a data type and the number of components.
std::uint32_t UInt32
Definition DataTypes.hpp:23
bool isUIntDataType(DataType dataType) noexcept
Determines if the argument refers to an unsigned integer data type.
std::int8_t Int8
Definition DataTypes.hpp:15
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25
bool isCompressedFormat(Format format) noexcept
Returns true if the specified hardware format is a compressed format, i.e.
std::int16_t Int16
Definition DataTypes.hpp:18
bool isDepthFormat(Format format) noexcept
Returns true if the specified hardware format is a depth format, i.e.