[][src]Crate vk_parse

This crate parses the Vulkan XML registry into a Rust object.

The entry point into this library is parse_file_as_vkxml, which will return a Registry object. This object contains all the information contained in the Vulkan API registry.

Structs

CommandDefinition
CommandParam

Parameter for this Vulkan function.

CommentedChildren
Enum

An item of an enumeration type.

Enums
Extension
Feature
NameWithType
Platform

A platform refers to a windowing system which Vulkan can use.

Registry

Rust structure representing the Vulkan registry.

Tag

Tags are the little suffixes attached to extension names or items, indicating the author.

Type
TypeCode
TypeMemberDefinition
Unused

An unused range of enum values.

VendorId

Unique identifier for a Vulkan vendor.

Enums

Command

A command is just a Vulkan function.

EnumSpec

An enum specifier, which assigns a value to the enum.

EnumsChild

An item which forms an enum.

ExtensionChild

A part of an extension declaration.

InterfaceItem

An interface item is a function or an enum which makes up a Vulkan interface.

RegistryChild

An element of the Vulkan registry.

TypeCodeMarkup
TypeMember

A member of a type definition, i.e. a struct member.

TypeMemberMarkup
TypeSpec

The contents of a type definition.

TypesChild

An item making up a type definition.

Functions

parse_file

Parses the Vulkan XML file into a Rust object.

parse_file_as_vkxml

Parses an file which must be the Vulkan registry XML in its standard format.

parse_stream

Parses the Vulkan XML file from stream into a Rust object.

parse_stream_as_vkxml

Parses data from stream which must be the Vulkan registry XML in its standard format.

Type Definitions

Commands
Extensions
FeatureChild
Platforms
Tags
Types
VendorIds