MCPcopy Index your code
hub / github.com/KhronosGroup/Vulkan-Docs / FeatureRequirement

Class FeatureRequirement

scripts/vulkan_object.py:14–19  ·  view source on GitHub ↗

Each instance of FeatureRequirement is one part of the AND operation, unless the struct/field are the same, then the depends are AND togethered

Source from the content-addressed store, hash-verified

12
13@dataclass
14class FeatureRequirement:
15 """Each instance of FeatureRequirement is one part of the AND operation,
16 unless the struct/field are the same, then the depends are AND togethered"""
17 struct: str
18 field: str # Can have comma delimiter, which are expressed as OR
19 depends: (str | None) # ex) "VK_EXT_descriptor_indexing", "VK_VERSION_1_2+VkPhysicalDeviceVulkan12Features::descriptorIndexing"
20
21@dataclass
22class Extension:

Callers 1

beginFeatureMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected