CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
GPUMemory.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  CeresEngine
 

Typedefs

using CeresEngine::GPUMemorySize = UInt64
 A type that represents a memory size.
 
using CeresEngine::GPUMemoryData = void *
 A pointer type that represents the memory raw data.
 

Enumerations

enum class  CeresEngine::GPUMemoryProperty {
  CeresEngine::DeviceLocal = (1u << 0u) , CeresEngine::HostVisible = (1u << 1u) , CeresEngine::HostCoherent = (1u << 2u) , CeresEngine::HostCached = (1u << 3u) ,
  CeresEngine::LazilyAllocated = (1u << 4u) , CeresEngine::ProtectedMemory = (1u << 5u)
}
 Flag specifying properties for a memory type. More...
 

Functions

constexpr Flags< GPUMemoryProperty, std::underlying_type_t< GPUMemoryProperty > > CeresEngine::operator| (GPUMemoryProperty a, GPUMemoryProperty b) noexcept
 
constexpr Flags< GPUMemoryProperty, std::underlying_type_t< GPUMemoryProperty > > CeresEngine::operator& (GPUMemoryProperty a, GPUMemoryProperty b) noexcept
 
constexpr Flags< GPUMemoryProperty, std::underlying_type_t< GPUMemoryProperty > > CeresEngine::operator~ (GPUMemoryProperty a) noexcept