CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::GPUSamplerResourceBinding 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

GPUSamplerPtr sampler = nullptr
 A sampler to be used when sampling from the sampler on the shader.
 

Member Function Documentation

◆ reflect()

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

◆ sampler

GPUSamplerPtr CeresEngine::GPUSamplerResourceBinding::sampler = nullptr

A sampler to be used when sampling from the sampler on the shader.

If the sampler is not set, a default one may be provided by the render API.


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