CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::GPUBufferResourceBinding Struct Reference

#include <CeresEngine/RenderAPI/GPUResourceSet.hpp>

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

GPUBufferPtr buffer = nullptr
 A pointer to the resource resource to be bound.
 
GPUBufferViewDescriptor bufferView
 A descriptor that describes the region of the buffer to be bound.
 

Member Function Documentation

◆ reflect()

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

◆ buffer

GPUBufferPtr CeresEngine::GPUBufferResourceBinding::buffer = nullptr

A pointer to the resource resource to be bound.

◆ bufferView

GPUBufferViewDescriptor CeresEngine::GPUBufferResourceBinding::bufferView

A descriptor that describes the region of the buffer to be bound.

This is only used it the resource is a Buffer resource.


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