Foundation
Loading...
Searching...
No Matches
Shader.hpp
Go to the documentation of this file.
1#pragma once
2#include "Common.hpp"
3namespace Foundation::RHI {
4 class RHIDevice;
5 class RHIShaderModule : public RHIObject {
6 protected:
8 public:
13
15
16 virtual void DebugSetObjectName(const char* name) = 0;
17 };
18}
Definition Device.hpp:131
Base class for all RHI objects.
Definition Details.hpp:16
Definition Shader.hpp:5
virtual void DebugSetObjectName(const char *name)=0
RHIShaderModule(RHIDevice const &device, ShaderModuleDesc const &desc)
Definition Shader.hpp:14
const RHIDevice & mDevice
Definition Shader.hpp:7
const ShaderModuleDesc mDesc
Definition Shader.hpp:12
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
Core::Span< char > source
Definition Shader.hpp:10