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:94
const VulkanDevice & mDevice
Definition Shader.hpp:7
void DebugSetObjectName(const char *name) override
Definition Shader.cpp:11
const vk::raii::ShaderModule & GetVkShaderModule() const
Definition Shader.hpp:12
vk::raii::ShaderModule mShaderModule
Definition Shader.hpp:8
T * Construct(Allocator *resource, Args &&...args)
Convenience placement new with object of type T using a Foundation::Core::Allocator.
Definition Allocator.hpp:149
Low-level Rendering Hardware Interface (RHI) abstractions.
Definition Application.hpp:4