CsPaint
1.0.2
|
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) |
using CsPaint::surface::handle = std::shared_ptr<surface> |
CsPaint::surface::surface | ( | context_handle | context_handle, |
vk::SurfaceKHR | surface, | ||
private_tag | = private_tag{} |
||
) |
|
delete |
CsPaint::surface::~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 |
|
inline |
|
delete |
void CsPaint::surface::recalculateSize | ( | ) |
|
inline |