Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
VkCV Framework
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Vulkan2021
VkCV Framework
Merge requests
!12
Resolve "Swapchain Class"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Swapchain Class"
16-swapchain-class
into
develop
Overview
31
Commits
73
Pipelines
21
Changes
2
Merged
Ghost User
requested to merge
16-swapchain-class
into
develop
4 years ago
Overview
10
Commits
73
Pipelines
21
Changes
2
Expand
Closes
#16 (closed)
Edited
3 years ago
by
Ghost User
0
0
Merge request reports
Viewing commit
1bc271d9
Prev
Next
Show latest version
2 files
+
68
−
55
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
1bc271d9
[
#16
] create swapchain object
· 1bc271d9
Vanessa Karolek
authored
3 years ago
include/vkcv/SwapChain.hpp
+
12
−
4
Options
@@ -14,8 +14,9 @@ namespace vkcv {
vk
::
SurfaceKHR
m_surface
;
const
vkcv
::
Core
*
m_core
;
SwapChain
(
vk
::
SurfaceKHR
surface
,
const
vkcv
::
Core
*
core
);
vk
::
SwapchainKHR
m_swapchain
;
SwapChain
(
vk
::
SurfaceKHR
surface
,
const
vkcv
::
Core
*
core
,
vk
::
SwapchainKHR
swapchain
);
public:
// bin mir grade unsicher wegen der Mehrfachinstanziierung der Klasse
@@ -23,9 +24,16 @@ namespace vkcv {
SwapChain
(
const
SwapChain
&
other
)
=
delete
;
SwapChain
(
SwapChain
&&
other
)
=
default
;
static
SwapChain
create
(
GLFWwindow
*
window
,
const
vkcv
::
Core
*
core
);
/**
* @return The swapchain linked with the #SwapChain class
* @note The reference to our Swapchain variable is needed for the recreation step
*/
[[
nodiscard
]]
vk
::
SwapchainKHR
getSwapchain
();
static
SwapChain
create
(
GLFWwindow
*
window
,
const
vkcv
::
Core
*
core
);
virtual
~
SwapChain
();
};
}
\ No newline at end of file
}
Loading