2#include "Foundation/Collections/SmallVector.h"
4#include "RenderResource.h"
9#include "Utilities/Expressions.h"
19 void update(
class Renderer * renderer);
20 void release(
class Renderer * renderer);
26 std::vector<struct RenderTexture *> textures;
29 bool expectsSRGB =
false;
31 uint8_t multiViewBaseIndex = 0;
32 uint8_t multiViewCount = 1;
33 uint8_t multiViewSamples = 1;
35 uint16_t layerIndex = 0;
36 uint16_t numLayers = 1;
38 uint32_t subresourceIndex = 0;
39 uint32_t depthLayerIndex = 0;
41 uint64_t generationHash = 0;
47 std::vector<Cogs::RenderTargetHandle> mipLevelViews;
60 const glm::vec4 getClearColor() {
return clearColors.empty() ? glm::vec4(0.f) : clearColors[0]; }
Contains all Cogs related functionality.
static const Handle_t NoHandle
Represents a handle to nothing.