Skip to main content

mtl_gpu/enums/
mod.rs

1//! Metal enumerations.
2//!
3//! This module contains all enum types from the Metal framework.
4//!
5//! # C++ Header Mapping
6//!
7//! | Rust Module | C++ Header |
8//! |-------------|------------|
9//! | [`pixel_format`] | `MTLPixelFormat.hpp` |
10//! | [`data_type`] | `MTLDataType.hpp` |
11//! | [`resource`] | `MTLResource.hpp` |
12//! | [`texture`] | `MTLTexture.hpp` |
13//! | [`sampler`] | `MTLSampler.hpp` |
14//! | [`depth_stencil`] | `MTLDepthStencil.hpp` |
15//! | [`render`] | `MTLRenderCommandEncoder.hpp`, `MTLRenderPass.hpp` |
16//! | [`pipeline`] | `MTLRenderPipeline.hpp`, `MTLPipeline.hpp` |
17//! | [`command`] | `MTLCommandBuffer.hpp` |
18//! | [`argument`] | `MTLArgument.hpp` |
19//! | [`device`] | `MTLDevice.hpp` |
20//! | [`library`] | `MTLLibrary.hpp` |
21//! | [`acceleration`] | `MTLAccelerationStructure.hpp` |
22//! | [`heap`] | `MTLHeap.hpp` |
23//! | [`blit`] | `MTLBlitCommandEncoder.hpp` |
24//! | [`vertex`] | `MTLVertexDescriptor.hpp`, `MTLStageInputOutputDescriptor.hpp` |
25//! | [`indirect_command`] | `MTLIndirectCommandBuffer.hpp` |
26//! | [`io`] | `MTLIOCommandBuffer.hpp` |
27//! | [`capture`] | `MTLCaptureManager.hpp` |
28//! | [`counter`] | `MTLCounters.hpp` |
29//! | [`function`] | `MTLFunctionDescriptor.hpp` |
30
31pub mod acceleration;
32pub mod argument;
33pub mod blit;
34pub mod capture;
35pub mod command;
36pub mod counter;
37pub mod data_type;
38pub mod depth_stencil;
39pub mod device;
40pub mod function;
41pub mod heap;
42pub mod indirect_command;
43pub mod io;
44pub mod library;
45pub mod log;
46pub mod pipeline;
47pub mod pixel_format;
48pub mod render;
49pub mod resource;
50pub mod sampler;
51pub mod tensor;
52pub mod texture;
53pub mod vertex;
54
55// Re-export all types at module level
56pub use acceleration::*;
57pub use argument::*;
58pub use blit::*;
59pub use capture::*;
60pub use command::*;
61pub use counter::*;
62pub use data_type::*;
63pub use depth_stencil::*;
64pub use device::*;
65pub use function::*;
66pub use heap::*;
67pub use indirect_command::*;
68pub use io::*;
69pub use library::*;
70pub use log::*;
71pub use pipeline::*;
72pub use pixel_format::*;
73pub use render::*;
74pub use resource::*;
75pub use sampler::*;
76pub use tensor::*;
77pub use texture::*;
78pub use vertex::*;