Skip to main content
Module shared
spirv_
tools_
sys
0.13.0
Module shared
Module Items
Structs
Enums
Functions
In crate spirv_
tools_
sys
spirv_tools_sys
Module
shared
Copy item path
Source
Structs
§
Binary
Tool
Context
Enums
§
Spirv
Result
Target
Env
Certain target environments impose additional restrictions on SPIR-V, so it’s often necessary to specify which one applies.
Universal_*
implies an environment-agnostic SPIR-V.
Functions
§
binary_
destroy
⚠
Frees a binary stream from memory. This is a no-op if binary is a null pointer.
context_
create
⚠
Creates a context object for most of the SPIRV-Tools API. Returns null if env is invalid.
context_
destroy
⚠
Destroys the given context object.