CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::GPUPipelineLayoutDescriptor Struct Referencefinal

Pipeline layout descriptor structure. More...

#include <CeresEngine/RenderAPI/GPUPipelineLayout.hpp>

Static Public Member Functions

static GPUPipelineLayoutDescriptor fromReflectionDescriptor (const GPUShaderReflectionDescriptor &reflectionDescriptor)
 data.
 
template<typename Processor >
static constexpr void reflect (Processor &&RTTI)
 Executes the given processor for every field of the struct.
 

Public Attributes

SmallVector< GPUBindingDescriptor, 10 > bindings
 List of layout resource bindings.
 

Detailed Description

Pipeline layout descriptor structure.

Remarks
Contains all layout bindings that will be used by graphics and compute pipelines.

Member Function Documentation

◆ fromReflectionDescriptor()

static GPUPipelineLayoutDescriptor CeresEngine::GPUPipelineLayoutDescriptor::fromReflectionDescriptor ( const GPUShaderReflectionDescriptor reflectionDescriptor)
static

data.

Parameters
reflectionDescriptorThe shader reflection descriptor.

◆ reflect()

template<typename Processor >
static constexpr void CeresEngine::GPUPipelineLayoutDescriptor::reflect ( Processor &&  RTTI)
inlinestaticconstexpr

Executes the given processor for every field of the struct.

Parameters
RTTIThe processor to be ran for every field.

Member Data Documentation

◆ bindings

SmallVector<GPUBindingDescriptor, 10> CeresEngine::GPUPipelineLayoutDescriptor::bindings

List of layout resource bindings.


The documentation for this struct was generated from the following file: