Raven Engine v0.1
A modern 3D Game Engine
Loading...
Searching...
No Matches
Types.h File Reference

Fundamental type definitions and alignment utilities for Raven Engine. More...

#include <cwstl/cwstl.h>

Namespaces

namespace  Raven

Macros

#define CWSTL_GLOBAL_TYPES

Typedefs

using Raven::max_align = cwstl::types::f64
using Raven::generic_ptr = void*
 Generic pointer to any object.
using Raven::uptr = u64
 Unsigned integer type capable of storing a pointer address on 64-bit.

Functions

template<typename T>
constexpr cwstl::types::usize Raven::AlignOf () noexcept
 Compile-time query of a type's alignment requirement.

Detailed Description

Fundamental type definitions and alignment utilities for Raven Engine.

Author
PhilikusHD

This header centralizes all basic scalar and pointer type aliases used across the Raven Engine to ensure consistent widths, portability, and readability on 64-bit architectures. It also exposes a constexpr utility to query type alignment at compile time.

Macro Definition Documentation

◆ CWSTL_GLOBAL_TYPES

#define CWSTL_GLOBAL_TYPES