A retain-release type of smart pointer.
Definition SmartPtr.hpp:132
Represents a graph type that can be used for describring the whole rendering process in the engine.
Definition RenderGraph.hpp:33
A RenderGraph resource that represents a GPU image.
Definition RenderGraphImage.hpp:76
const RenderGraphImageDescriptor getDescriptor() const noexcept
A structure that describes how the RenderGraphImage should create a GPUImage based on it's inputs.
Definition RenderGraphImage.hpp:94
RenderGraphImage(RenderGraph &graph, const RenderGraphImageDescriptor &descriptor)
Creates a new RenderGraphImage instance.
Definition RenderGraphImage.hpp:90
RenderGraphResourceType getType() const noexcept final
Definition RenderGraphImage.hpp:104
void setImage(const GPUImagePtr image)
A pointer to the instantiated GPU image.
const GPUImagePtr getImage() const noexcept
A pointer to the instantiated GPU image.
Definition RenderGraphImage.hpp:97
GPUImagePtr mImage
A pointer to the instantiated GPU image.
Definition RenderGraphImage.hpp:84
RenderGraphImageDescriptor mDescriptor
A structure that describes how the RenderGraphImage should create a GPUImage based on it's inputs.
Definition RenderGraphImage.hpp:80
Definition RenderGraphResource.hpp:26
Definition Forward.hpp:12
RenderGraphImageSizeClass
An enumeration that contains constants that describes how the value of RenderGraphImageSizeClass::ext...
Definition RenderGraphImage.hpp:25
@ SwapChainRelative
Determines that the image size is relative to the size of the swap-chain.
@ InputRelative
Determines that the size is relative to the size of another input image resource.
@ Absolute
Determines that the image size is in absolute units and won't scale depending on input or swap-chain ...
RenderGraphResourceType
Definition RenderGraphResource.hpp:18
@ Image
The RenderGraphResource is a RenderGraphImage.
@ Sample
Image can be used for sampling (e.g.
@ Attachment
Image can be used as render target attachment.
Format
Definition TextureFormat.hpp:54
@ Undefined
Undefined format.
GPUImageType
Definition GPUImage.hpp:36
@ Image2D
2-Dimensional image.
std::uint32_t UInt32
Definition DataTypes.hpp:23
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25
A structure that describes how an Image Resource should be created during Render Graph execution.
Definition RenderGraphImage.hpp:44
UInt32 arrayLayers
\copudoc GPUImageDescriptor::arrayLayers
Definition RenderGraphImage.hpp:61
RenderGraphImageSizeClass sizeClass
Determines how the extent variable should be interpreted.
Definition RenderGraphImage.hpp:55
UInt32 samples
\copudoc GPUImageDescriptor::samples
Definition RenderGraphImage.hpp:67
GPUImageType type
\copudoc GPUImageDescriptor::type
Definition RenderGraphImage.hpp:46
Extent3 extent
\copudoc GPUImageDescriptor::extent
Definition RenderGraphImage.hpp:58
GPUImageUsage usage
\copudoc GPUImageDescriptor::usage
Definition RenderGraphImage.hpp:49
bool persistent
Determines if the render graph resource is persistent.
Definition RenderGraphImage.hpp:72
UInt32 mipLevels
\copudoc GPUImageDescriptor::mipLevels
Definition RenderGraphImage.hpp:64
Format format
\copudoc GPUImageDescriptor::format
Definition RenderGraphImage.hpp:52