CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
GPUResource.hpp
Go to the documentation of this file.
1//
2// CeresEngine - A game development framework
3//
4// Created by Rogiel Sulzbach.
5// Copyright (c) 2018-2022 Rogiel Sulzbach. All rights reserved.
6//
7
8#pragma once
9
10#include "Common.hpp"
11
12namespace CeresEngine {
13
15 enum class GPUResourceType {
17 Undefined = 0,
18
21
24
27
29 Image,
30
32 Sampler,
33
36
39 };
40
42 public:
44 };
45
46} // namespace CeresEngine
A base interface for RenderAPI objects.
Definition Common.hpp:52
GPUDeviceObject(GPUDevice &device)
Definition GPUResource.hpp:41
Definition Application.hpp:19
@ Undefined
We don't care about the previous content of the respective render target attachment.
GPUResourceType
An enumeration of supported resource types.
Definition GPUResource.hpp:15
@ StorageBuffer
Storage buffer resource.
@ Sampler
Sampler state resource.
@ CombinedSampler
Combined sampler with a associated image.
@ UniformBuffer
Uniform buffer (or constant buffer) resource.
@ DynamicUniformBuffer
Dynamic uniform buffer (or constant buffer) resource.
@ StorageImage
Storage image resource type.