CsPaint  1.0.1
CsPaint::surface Class Reference
Inheritance diagram for CsPaint::surface:

Public Typedefs

using handle = std::shared_ptr< surface >
 

Public Member Functions

 surface (const surface &) = delete
 
 surface (context_handle context_handle, vk::SurfaceKHR surface, private_tag=private_tag{})
 
 ~surface ()
 
pipeline_handle createPipeline (renderpass_handle renderpass, const vk::PipelineVertexInputStateCreateInfo &vertexInputInfo, const std::vector< vk::PipelineShaderStageCreateInfo > &shaderStages, const vk::PipelineLayout &pipelineLayout)
 
swapchain_handle createSwapchain (renderpass_handle renderpass, std::vector< CsPaint::image_handle > images=std::vector< CsPaint::image_handle >())
 
device_handle graphicsDevice () const
 
uint32_t height () const
 
void operator= (const surface &) = delete
 
void recalculateSize ()
 
uint32_t width () const
 

Static Public Member Functions

static handle create (context_handle context_handle, vk::SurfaceKHR vk_surface)
 

Member Typedef Documentation

using CsPaint::surface::handle = std::shared_ptr<surface>

Constructor & Destructor Documentation

CsPaint::surface::surface ( context_handle  context_handle,
vk::SurfaceKHR  surface,
private_tag  = private_tag{} 
)
CsPaint::surface::surface ( const surface &  )
delete
CsPaint::surface::~surface ( )

Member Function Documentation

static handle CsPaint::surface::create ( context_handle  context_handle,
vk::SurfaceKHR  vk_surface 
)
static
pipeline_handle CsPaint::surface::createPipeline ( renderpass_handle  renderpass,
const vk::PipelineVertexInputStateCreateInfo &  vertexInputInfo,
const std::vector< vk::PipelineShaderStageCreateInfo > &  shaderStages,
const vk::PipelineLayout &  pipelineLayout 
)
swapchain_handle CsPaint::surface::createSwapchain ( renderpass_handle  renderpass,
std::vector< CsPaint::image_handle images = std::vector< CsPaint::image_handle >() 
)
device_handle CsPaint::surface::graphicsDevice ( ) const
uint32_t CsPaint::surface::height ( ) const
inline
void CsPaint::surface::operator= ( const surface &  )
delete
void CsPaint::surface::recalculateSize ( )
uint32_t CsPaint::surface::width ( ) const
inline