Foundation
Loading...
Searching...
No Matches
Source
RHIVulkan
Shader.hpp
Go to the documentation of this file.
1
#pragma once
2
#include <
RHICore/Shader.hpp
>
3
#include "
Common.hpp
"
4
namespace
Foundation::RHI
{
5
class
VulkanDevice;
6
class
VulkanShaderModule
:
public
RHIShaderModule
{
7
const
VulkanDevice
&
mDevice
;
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
}
Shader.hpp
Common.hpp
Foundation::RHI::RHIShaderModule
Definition
Shader.hpp:5
Foundation::RHI::VulkanDevice
Definition
Device.hpp:94
Foundation::RHI::VulkanShaderModule
Definition
Shader.hpp:6
Foundation::RHI::VulkanShaderModule::mDevice
const VulkanDevice & mDevice
Definition
Shader.hpp:7
Foundation::RHI::VulkanShaderModule::DebugSetObjectName
void DebugSetObjectName(const char *name) override
Definition
Shader.cpp:11
Foundation::RHI::VulkanShaderModule::GetVkShaderModule
const vk::raii::ShaderModule & GetVkShaderModule() const
Definition
Shader.hpp:12
Foundation::RHI::VulkanShaderModule::mShaderModule
vk::raii::ShaderModule mShaderModule
Definition
Shader.hpp:8
Foundation::Core::Construct
T * Construct(Allocator *resource, Args &&...args)
Convenience placement new with object of type T using a Foundation::Core::Allocator.
Definition
Allocator.hpp:149
Foundation::RHI
Low-level Rendering Hardware Interface (RHI) abstractions.
Definition
Application.hpp:4
Generated by
1.9.8