Lines Matching refs:struct
31 def __init__(self, version, struct=()):
34 if not struct:
37 self.struct_version = struct
50 def struct(self):
53 # the sType of the extension's struct
55 # for VK_EXT_transform_feedback and struct="FEATURES"
56 def stype(self, struct: str):
59 + '_' + struct)
144 # feature/properties struct
149 def physical_device_struct(self, struct: str):
150 if self.name_in_camel_case().endswith(struct):
151 struct = ""
155 + struct
158 # the sType of the extension's struct
160 # for VK_EXT_transform_feedback and struct="FEATURES"
161 def stype(self, struct: str):
164 + '_' + struct + '_'
214 if typ.get("category") != "struct":
285 # available for the features, then consider the features struct
337 def is_features_struct(self, struct: str):
338 return re.match(r"VkPhysicalDevice.*Features.*", struct) is not None
340 def is_properties_struct(self, struct: str):
341 return re.match(r"VkPhysicalDevice.*Properties.*", struct) is not None