Expand description
§Crystal API
Crystal API is a unified wrapper for GPU APIs
Re-exports§
pub use settings::GraphicsApiInitSettings;
Modules§
Structs§
- GpuSampler
Set - Used for textures bindings in shaders
- Shader
Enums§
Traits§
- AsBytes
AsBytes
represents a memory region as slice of bytes- Buffer
- Used to store GPU data
- Graphics
Api GraphicsApi
is the main trait used for creation of graphics resources and using this wrapper- Layout
- Contains resources used to mapping GPU memory in shaders
- Pipeline
- Contains compiled shader stages and layout bindings info
- Render
Target - Contains resources used to rendering in them
- Texture
- Used to store data about texture in GPU
Functions§
- init_
api_ instance_ with_ presentation - Creates api instance with presentation support