Update for Vulkan-Docs 1.4.319

This commit is contained in:
Jon Leech 2025-06-20 13:17:34 +01:00 committed by Jon Leech
parent b39ab380a4
commit 10739e8e00
38 changed files with 184363 additions and 135674 deletions

View file

@ -81,6 +81,13 @@ class Handle:
def __lt__(self, other):
return self.name < other.name
class ExternSync(Enum):
NONE = auto() # no externsync attribute
ALWAYS = auto() # externsync="true"
MAYBE = auto() # externsync="maybe"
SUBTYPE = auto() # externsync="param->member"
SUBTYPE_MAYBE = auto() # externsync="maybe:param->member"
@dataclass
class Param:
"""<command/param>"""
@ -110,8 +117,9 @@ class Param:
optional: bool
optionalPointer: bool # if type contains a pointer, is the pointer value optional
externSync: bool
externSyncPointer: list[str] # if type contains a pointer, might only specific members modified
externSync: ExternSync
externSyncPointer: (str | None) # if type contains a pointer (externSync is SUBTYPE*),
# only a specific member is externally synchronized.
# C string of member, example:
# - const void* pNext
@ -217,7 +225,7 @@ class Member:
optional: bool
optionalPointer: bool # if type contains a pointer, is the pointer value optional
externSync: bool
externSync: ExternSync
# C string of member, example:
# - const void* pNext