|
CeresEngine 0.2.0
A game development framework
|
#include "CeresEngine/DataTypes.hpp"#include "CeresEngine/Macros.hpp"#include "CeresEngine/Foundation/Container/Tuple.hpp"#include "CeresEngine/Texture/TextureFormat.hpp"#include <cstdint>#include <tuple>Go to the source code of this file.
Namespaces | |
| namespace | CeresEngine |
Enumerations | |
| enum class | CeresEngine::Precision { CeresEngine::Uint8 , CeresEngine::Float16 , CeresEngine::Float32 } |
| enum class | CeresEngine::DataType { CeresEngine::Int8 , CeresEngine::UInt8 , CeresEngine::Int16 , CeresEngine::UInt16 , CeresEngine::Int32 , CeresEngine::UInt32 , CeresEngine::Float16 , CeresEngine::Float32 , CeresEngine::Float64 } |
| Renderer data types enumeration. More... | |
Functions | |
| UInt32 | CeresEngine::formatBitSize (Format format) noexcept |
| Returns the bit size of the specified hardware format. | |
| Tuple< DataType, UInt32 > | CeresEngine::splitFormat (Format format) noexcept |
| Splits the specified hardware format into a data type and the number of components. | |
| bool | CeresEngine::isCompressedFormat (Format format) noexcept |
| Returns true if the specified hardware format is a compressed format, i.e. | |
| bool | CeresEngine::isDepthStencilFormat (Format format) noexcept |
| Returns true if the specified hardware format is a depth or depth-stencil format, i.e. | |
| bool | CeresEngine::isDepthFormat (Format format) noexcept |
| Returns true if the specified hardware format is a depth format, i.e. | |
| bool | CeresEngine::isStencilFormat (Format format) noexcept |
| Returns true if the specified hardware format is a stencil format, i.e. | |
| bool | CeresEngine::isNormalizedFormat (Format format) noexcept |
| Returns true if the specified hardware format is a normalized format (like Format::RGBA8UNorm, Format::R8SNorm etc.). | |
| bool | CeresEngine::isIntegralFormat (Format format) noexcept |
| Returns true if the specified hardware format is an integral format (like Format::RGBA8UInt, Format::R8SInt etc.). | |
| bool | CeresEngine::isFloatFormat (Format format) noexcept |
| Returns true if the specified hardware format is a floating-point format (like Format::RGBA32Float, Format::R32Float etc.). | |
| UInt32 | CeresEngine::dataTypeSize (DataType dataType) noexcept |
| Returns the size (in bytes) of the specified data type. | |
| bool | CeresEngine::isIntDataType (DataType dataType) noexcept |
| Determines if the argument refers to a signed integer data type. | |
| bool | CeresEngine::isUIntDataType (DataType dataType) noexcept |
| Determines if the argument refers to an unsigned integer data type. | |
| bool | CeresEngine::isFloatDataType (DataType dataType) noexcept |
| Determines if the argument refers to a floating-pointer data type. | |