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:80
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:14
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::UniquePtr
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
Foundation::RHI
Low-level Rendering Hardware Interface (RHI) abstractions.
Definition
Application.hpp:5
Generated by
1.9.8