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

Shader reflection descriptor structure. More...

#include <CeresEngine/RenderAPI/GPUShader.hpp>

Classes

struct  DescriptorView
 Shader reflection descriptor view structure. More...
 

Static Public Member Functions

template<typename Processor >
static constexpr void reflect (Processor &&RTTI)
 Executes the given processor for every field of the struct.
 

Public Attributes

Vector< GPUVertexAttributevertexAttributes
 List of all vertex attributes.
 
Vector< DescriptorViewdescriptorViews
 List of all shader reflection descriptor views.
 

Detailed Description

Shader reflection descriptor structure.

Remarks
Contains all information of resources and attributes that can be queried from a shader program.

Member Function Documentation

◆ reflect()

template<typename Processor >
static constexpr void CeresEngine::GPUShaderReflectionDescriptor::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

◆ descriptorViews

Vector<DescriptorView> CeresEngine::GPUShaderReflectionDescriptor::descriptorViews

List of all shader reflection descriptor views.

◆ vertexAttributes

Vector<GPUVertexAttribute> CeresEngine::GPUShaderReflectionDescriptor::vertexAttributes

List of all vertex attributes.


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