Renderer: Add support for cubemaps

This commit is contained in:
Jérôme Leclercq
2021-06-01 12:30:37 +02:00
parent c243217dd8
commit 465837ff12
14 changed files with 201 additions and 41 deletions

View File

@@ -72,10 +72,10 @@ namespace Nz
std::optional<bool> depth;
std::optional<bool> sampled;
SpirvDim dim;
SpirvImageFormat format;
SpirvImageFormat format = SpirvImageFormat::Unknown;
TypePtr sampledType;
bool arrayed;
bool multisampled;
bool arrayed = false;
bool multisampled = false;
};
struct Pointer