Fling Engine  0.00.1
Fling Engine is a game engine written in Vulkan
Namespaces | Macros | Typedefs | Functions | Variables
FlingTypes.h File Reference
#include <cstdint>
#include <limits>
#include <stdexcept>
#include <inttypes.h>
#include <entt/core/hashed_string.hpp>
#include <entt/entity/helper.hpp>

Go to the source code of this file.

Namespaces

 Fling
 

Macros

#define HS(str)   entt::hashed_string { (str) }
 

Typedefs

typedef uint8_t UINT8
 
typedef unsigned short UINT16
 
typedef uint32_t UINT32
 
typedef uint64_t UINT64
 
typedef int8_t INT8
 
typedef signed short INT16
 
typedef int32_t INT32
 
typedef int64_t INT64
 
typedef entt::hashed_string Fling::Guid
 
typedef entt::hashed_string::hash_type Fling::Guid_Handle
 

Functions

template<class T >
UINT32 to_u32 (T value)
 Helper function to check size_t is correctly converted to uint32_t. More...
 

Variables

static Guid Fling::INVALID_GUID = { "INVALID_GUID"_hs }
 

Macro Definition Documentation

◆ HS

#define HS (   str)    entt::hashed_string { (str) }

Typedef Documentation

◆ INT16

typedef signed short INT16

◆ INT32

typedef int32_t INT32

◆ INT64

typedef int64_t INT64

◆ INT8

typedef int8_t INT8

◆ UINT16

typedef unsigned short UINT16

◆ UINT32

typedef uint32_t UINT32

◆ UINT64

typedef uint64_t UINT64

◆ UINT8

typedef uint8_t UINT8

Function Documentation

◆ to_u32()

template<class T >
UINT32 to_u32 ( value)

Helper function to check size_t is correctly converted to uint32_t.

Parameters
valueValue of type size_t to convert
Returns
An uint32_t representation of the same value