Berserk
|
Reflection info about compiled RHI program. More...
#include <RHIShader.hpp>
Classes | |
struct | DataParam |
Data param within uniform block. More... | |
struct | DataParamBlock |
Uniform block info. More... | |
struct | InputAttribute |
Vertex shader inputs. More... | |
struct | ObjectParam |
Object params like samplers, textures. More... | |
Public Member Functions | |
uint32 | GetSamplerLocation (const StringName &p) const |
uint32 | GetParamBlockSlot (const StringName &p) const |
![]() | |
virtual | ~RefCnt () |
bool | IsUnique () const |
std::int32_t | GetRefs () const |
std::int32_t | AddRef () const |
std::int32_t | RelRef () const |
Public Attributes | |
StringName | name |
std::unordered_map< StringName, InputAttribute > | inputs |
std::unordered_map< StringName, DataParam > | params |
std::unordered_map< StringName, DataParamBlock > | paramBlocks |
std::unordered_map< StringName, ObjectParam > | samplers |
Additional Inherited Members | |
![]() | |
virtual void | Destroy () const |
Reflection info about compiled RHI program.
|
inline |
|
inline |
std::unordered_map<StringName, InputAttribute> RHIShaderMeta::inputs |
StringName RHIShaderMeta::name |
std::unordered_map<StringName, DataParamBlock> RHIShaderMeta::paramBlocks |
std::unordered_map<StringName, DataParam> RHIShaderMeta::params |
std::unordered_map<StringName, ObjectParam> RHIShaderMeta::samplers |