Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CoreExtensionsXPath ¶ added in v0.4.0
CoreExtensionsXPath selects the extensions that are not specific to a platform and are supported by the named API (the supported attribute is a comma-separated list, for example supported="vulkan,vulkansc").
func PlatformExtensionsXPath ¶ added in v0.4.0
PlatformExtensionsXPath selects the extensions for a platform: those with the platform attribute and, for registry files that predate it, those guarded by the platform's protect macro.
Types ¶
type Extension ¶
type Extension struct {
*Feature
// contains filtered or unexported fields
}
func ReadExtensionFromXML ¶
func ReadExtensionFromXML(extNode *xmlquery.Node, tr def.TypeRegistry, vr def.ValueRegistry) *Extension
func (*Extension) PlatformName ¶
type Feature ¶
type Feature struct {
ResolvedTypes def.TypeRegistry
ResolvedValues map[string]def.ValueRegistry
// contains filtered or unexported fields
}
func NewFeature ¶
func NewFeature() *Feature
func ReadFeatureFromXML ¶
func ReadFeatureFromXML(featureNode *xmlquery.Node, tr def.TypeRegistry, vr def.ValueRegistry) *Feature
func (*Feature) FilterByCategory ¶
func (f *Feature) FilterByCategory() map[def.TypeCategory]*Feature
func (*Feature) MergeIncludeSet ¶
func (f *Feature) MergeIncludeSet(is *def.IncludeSet)
func (*Feature) Resolve ¶
func (f *Feature) Resolve(tr def.TypeRegistry, vr def.ValueRegistry)
type Platform ¶
type Platform struct {
GoBuildTag string
GoImports []string
// contains filtered or unexported fields
}
func NewGeneralPlatform ¶
func NewGeneralPlatform() *Platform
func NewPlatformFromXML ¶
func (*Platform) Extensions ¶
func (*Platform) GeneratePlatformFeatures ¶
func (*Platform) IncludeExtension ¶
type PlatformRegistry ¶
Click to show internal directories.
Click to hide internal directories.