Foundation
Loading...
Searching...
No Matches
Shader.hpp
Go to the documentation of this file.
1#pragma once
2#include <RHICore/Shader.hpp>
3#include "Common.hpp"
4namespace Foundation::RHI {
5 class VulkanDevice;
8 vk::raii::ShaderModule mShaderModule{ nullptr };
9 public:
10 VulkanShaderModule(const VulkanDevice& device, ShaderModuleDesc const& desc);
11
12 [[nodiscard]] inline const vk::raii::ShaderModule& GetVkShaderModule() const { return mShaderModule; }
13
14 void DebugSetObjectName(const char* name) override;
15 };
16}
Definition Shader.hpp:5
Definition Device.hpp:80
const VulkanDevice & mDevice
Definition Shader.hpp:7
void DebugSetObjectName(const char *name) override
Definition Shader.cpp:14
const vk::raii::ShaderModule & GetVkShaderModule() const
Definition Shader.hpp:12
vk::raii::ShaderModule mShaderModule
Definition Shader.hpp:8
std::unique_ptr< T, StlDeleter< T > > UniquePtr
std::unique_ptr with custom deleter that uses a Foundation::Core::Allocator to deallocate memory.
Definition Allocator.hpp:161
Low-level Rendering Hardware Interface (RHI) abstractions.
Definition Application.hpp:5