Vulkan-Docs/chapters/VK_GGP_frame_token.txt

29 lines
1.0 KiB
Plaintext

// Copyright (c) 2015-2019 Khronos Group. This work is licensed under a
// Creative Commons Attribution 4.0 International License; see
// http://creativecommons.org/licenses/by/4.0/
[open,refpage='VkPresentFrameTokenGGP',desc='The Google Games Platform frame token',type='structs']
--
When the `<<VK_GGP_frame_token>>` extension is enabled, a Google Games
Platform frame token can: be specified when presenting an image to a
swapchain by including the sname:VkPresentFrameTokenGGP structure in the
pname:pNext chain of the sname:VkPresentInfoKHR structure.
The sname:VkPresentFrameTokenGGP structure is defined as:
include::{generated}/api/structs/VkPresentFrameTokenGGP.txt[]
* pname:sType is the type of this structure.
* pname:pNext is `NULL` or a pointer to an extension-specific structure.
* pname:frameToken is the Google Games Platform frame token.
.Valid Usage
****
* [[VUID-VkPresentFrameTokenGGP-frameToken-02680]]
pname:frameToken must: be a valid code:GgpFrameToken
****
include::{generated}/validity/structs/VkPresentFrameTokenGGP.txt[]
--