CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
Forward.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  CeresEngine
 

Macros

#define CE_RENDER_API_OBJECT_EACH(F)
 A macro that invokes the function-macro F for every RenderAPI object type.
 
#define CE_RENDER_API_OBJECT_FORWARD(N)
 
#define CE_RENDER_API_OBJECT_RCPTR_TRAIT_DECL(N)   CE_RCPTR_TRAIT_DECL(CeresEngine::GPU##N)
 

Typedefs

using CeresEngine::GPUResourcePtr = RC< GPUResource >
 
using CeresEngine::GPUBufferPtr = RC< GPUBuffer >
 
using CeresEngine::GPUCommandBufferPtr = RC< GPUCommandBuffer >
 
using CeresEngine::GPUCommandQueuePtr = RC< GPUCommandQueue >
 
using CeresEngine::GPUComputePipelinePtr = RC< GPUComputePipeline >
 
using CeresEngine::GPUDevicePtr = RC< GPUDevice >
 
using CeresEngine::GPUFencePtr = RC< GPUFence >
 
using CeresEngine::GPUGraphicsPipelinePtr = RC< GPUGraphicsPipeline >
 
using CeresEngine::GPUImagePtr = RC< GPUImage >
 
using CeresEngine::GPUImageViewPtr = RC< GPUImageView >
 
using CeresEngine::GPUPipelineLayoutPtr = RC< GPUPipelineLayout >
 
using CeresEngine::GPURenderPassPtr = RC< GPURenderPass >
 
using CeresEngine::GPURenderTargetPtr = RC< GPURenderTarget >
 
using CeresEngine::GPUResourceSetPtr = RC< GPUResourceSet >
 
using CeresEngine::GPUSamplerPtr = RC< GPUSampler >
 
using CeresEngine::GPUShaderPtr = RC< GPUShader >
 
using CeresEngine::GPUShaderProgramPtr = RC< GPUShaderProgram >
 
using CeresEngine::GPUSwapchainPtr = RC< GPUSwapchain >
 
using CeresEngine::GPUTimerQueryPtr = RC< GPUTimerQuery >
 
using CeresEngine::GPUOcclusionQueryPtr = RC< GPUOcclusionQuery >
 
using CeresEngine::GPUMemoryProperties = Flags< GPUMemoryProperty >
 Flag specifying properties for a memory type.
 
using CeresEngine::GPUDescriptorType = GPUResourceType
 

Macro Definition Documentation

◆ CE_RENDER_API_OBJECT_EACH

#define CE_RENDER_API_OBJECT_EACH (   F)
Value:
F(Buffer) \
F(CommandBuffer) \
F(CommandQueue) \
F(ComputePipeline) \
F(Device) \
F(Fence) \
F(GraphicsPipeline) \
F(Image) \
F(ImageView) \
F(PipelineLayout) \
F(RenderPass) \
F(RenderTarget) \
F(ResourceSet) \
F(Sampler) \
F(Shader) \
F(ShaderProgram) \
F(Swapchain) \
F(TimerQuery) \
F(OcclusionQuery)

A macro that invokes the function-macro F for every RenderAPI object type.

Parameters
FA function-like macro to be invoked for every RenderAPI object type.

◆ CE_RENDER_API_OBJECT_FORWARD

#define CE_RENDER_API_OBJECT_FORWARD (   N)
Value:
class GPU##N; \
struct GPU##N##Descriptor; \
using GPU##N##Ptr = RC<GPU##N>;

◆ CE_RENDER_API_OBJECT_RCPTR_TRAIT_DECL

#define CE_RENDER_API_OBJECT_RCPTR_TRAIT_DECL (   N)    CE_RCPTR_TRAIT_DECL(CeresEngine::GPU##N)