Foundation
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Foundation::RHI::VulkanSurface Class Reference

#include <Surface.hpp>

Inheritance diagram for Foundation::RHI::VulkanSurface:
Foundation::RHI::RHISurface Foundation::RHI::RHIObject

Public Member Functions

 VulkanSurface (const VulkanDevice &device, SurfaceDesc const &desc)
 
auto const & GetVkSurface () const
 
Span< RHISurfaceFormat const > GetSupportedFormats () const override
 
Span< RHISwapchainPresentMode const > GetSupportedPresentModes () const override
 
void DebugSetObjectName (const char *name) override
 
- Public Member Functions inherited from Foundation::RHI::RHIObject
 RHIObject ()=default
 
 RHIObject (RHIObject const &)=delete
 
RHIObjectoperator= (const RHIObject &)=delete
 
 RHIObject (RHIObject &&)=delete
 
RHIObjectoperator= (RHIObject &&)=delete
 
virtual ~RHIObject ()=default
 

Private Attributes

const VulkanDevicemDevice
 
vk::raii::SurfaceKHR mSurface { nullptr }
 
Vector< RHISurfaceFormatmSupportedFormats
 
Vector< RHISwapchainPresentModemSupportedPresentModes
 

Constructor & Destructor Documentation

◆ VulkanSurface()

Foundation::RHI::VulkanSurface::VulkanSurface ( const VulkanDevice device,
SurfaceDesc const &  desc 
)

Member Function Documentation

◆ DebugSetObjectName()

void Foundation::RHI::VulkanSurface::DebugSetObjectName ( const char *  name)
inlineoverridevirtual

◆ GetSupportedFormats()

Span< RHISurfaceFormat const > Foundation::RHI::VulkanSurface::GetSupportedFormats ( ) const
inlineoverridevirtual

◆ GetSupportedPresentModes()

Span< RHISwapchainPresentMode const > Foundation::RHI::VulkanSurface::GetSupportedPresentModes ( ) const
inlineoverridevirtual

◆ GetVkSurface()

auto const & Foundation::RHI::VulkanSurface::GetVkSurface ( ) const
inline

Member Data Documentation

◆ mDevice

const VulkanDevice& Foundation::RHI::VulkanSurface::mDevice
private

◆ mSupportedFormats

Vector<RHISurfaceFormat> Foundation::RHI::VulkanSurface::mSupportedFormats
private

◆ mSupportedPresentModes

Vector<RHISwapchainPresentMode> Foundation::RHI::VulkanSurface::mSupportedPresentModes
private

◆ mSurface

vk::raii::SurfaceKHR Foundation::RHI::VulkanSurface::mSurface { nullptr }
private

The documentation for this class was generated from the following files: