diff options
Diffstat (limited to 'Graphics/GraphicsEngine')
| -rw-r--r-- | Graphics/GraphicsEngine/interface/Shader.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngine/interface/Shader.h b/Graphics/GraphicsEngine/interface/Shader.h index 91cc215b..9294abd3 100644 --- a/Graphics/GraphicsEngine/interface/Shader.h +++ b/Graphics/GraphicsEngine/interface/Shader.h @@ -246,6 +246,16 @@ enum SHADER_RESOURCE_TYPE : Uint8 /// Shader resource description struct ShaderResourceDesc { + ShaderResourceDesc() noexcept {} + + ShaderResourceDesc(const char* _Name, + SHADER_RESOURCE_TYPE _Type, + Uint32 _ArraySize) noexcept : + Name{_Name}, + Type{_Type}, + ArraySize{_ArraySize} + {} + // clang-format off /// Shader resource name const char* Name = nullptr; |
