Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
MeshGPUResources.hpp File Reference
#include "MeshRuntime.hpp"
#include <SDL3/SDL_gpu.h>
#include <cstddef>
#include <cstdint>
#include <expected>
#include <memory>
#include <span>
#include <string>
#include <unordered_map>
#include <vector>
Include dependency graph for MeshGPUResources.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  monopoly::engine::MeshGPUVertex
 
struct  monopoly::engine::MeshGPUUploadPlan
 
struct  monopoly::engine::MeshGPUError
 
struct  monopoly::engine::MeshGPUTextureResource
 
struct  monopoly::engine::MeshGPUDynamicVertexResource
 
struct  monopoly::engine::MeshGPUModernTextureResource
 
struct  monopoly::engine::MeshGPUResource
 
class  monopoly::engine::MeshGPUCache
 

Namespaces

namespace  monopoly
 
namespace  monopoly::engine
 

Enumerations

enum class  monopoly::engine::MeshGPUErrorCode {
  monopoly::engine::MissingDevice , monopoly::engine::MissingAsset , monopoly::engine::EmptyGeometry , monopoly::engine::SizeOverflow ,
  monopoly::engine::InvalidIndex , monopoly::engine::InvalidBatchRange , monopoly::engine::DynamicTopologyMismatch , monopoly::engine::MissingTexturePixels ,
  monopoly::engine::InvalidTexturePixels , monopoly::engine::VertexBufferCreationFailed , monopoly::engine::IndexBufferCreationFailed , monopoly::engine::TextureCreationFailed ,
  monopoly::engine::UnsupportedTextureFormat , monopoly::engine::SamplerCreationFailed , monopoly::engine::HostAllocationFailed , monopoly::engine::TransferBufferCreationFailed ,
  monopoly::engine::TransferMapFailed , monopoly::engine::CommandBufferCreationFailed , monopoly::engine::CopyPassCreationFailed , monopoly::engine::SubmitFailed
}
 

Functions

std::expected< MeshGPUUploadPlan, MeshGPUError > monopoly::engine::makeMeshGPUUploadPlan (const data::MeshRenderData &renderData)