|
Blender V4.5
|
#include <vk_resource_tracker.hh>
Public Member Functions | |
| VKSubmissionID ()=default | |
| const VKSubmissionID & | operator= (const VKSubmissionID &other) |
| bool | operator== (const VKSubmissionID &other) |
| bool | operator!= (const VKSubmissionID &other) |
Friends | |
| class | render_graph::VKRenderGraph |
In vulkan multiple commands can be in flight simultaneously.
These commands can share the same resources like descriptor sets or push constants. When between commands these resources are updated a new version of these resources should be created.
When a resource is updated it should check the submission id of the command buffer. If it is different, then the resource can be reused. If the submission id is the same a new version of the resource to now intervene with other commands that uses the resource.
VKSubmissionID is the identifier to keep track if a new submission is being recorded.
Definition at line 44 of file vk_resource_tracker.hh.
|
default |
Referenced by operator!=(), operator=(), and operator==().
|
inline |
Definition at line 90 of file vk_resource_tracker.hh.
References VKSubmissionID().
|
inline |
Definition at line 79 of file vk_resource_tracker.hh.
References VKSubmissionID().
|
inline |
Definition at line 85 of file vk_resource_tracker.hh.
References VKSubmissionID().
|
friend |
Definition at line 45 of file vk_resource_tracker.hh.