aboutsummaryrefslogtreecommitdiff
path: root/src/descriptor_set/layout/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/descriptor_set/layout/mod.rs')
-rw-r--r--src/descriptor_set/layout/mod.rs29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/descriptor_set/layout/mod.rs b/src/descriptor_set/layout/mod.rs
new file mode 100644
index 0000000..272e480
--- /dev/null
+++ b/src/descriptor_set/layout/mod.rs
@@ -0,0 +1,29 @@
+// Copyright (c) 2021 The vulkano developers
+// Licensed under the Apache License, Version 2.0
+// <LICENSE-APACHE or
+// https://www.apache.org/licenses/LICENSE-2.0> or the MIT
+// license <LICENSE-MIT or https://opensource.org/licenses/MIT>,
+// at your option. All files in the project carrying such
+// notice may not be copied, modified, or distributed except
+// according to those terms.
+
+//! Describes the layout of all descriptors within a descriptor set.
+//!
+//! When creating a new descriptor set, you must provide a *layout* object to create it from. You
+//! can create a descriptor set layout manually, but it is normally created automatically by each
+//! pipeline layout.
+
+pub use self::desc::DescriptorBufferDesc;
+pub use self::desc::DescriptorDesc;
+pub use self::desc::DescriptorDescSupersetError;
+pub use self::desc::DescriptorDescTy;
+pub use self::desc::DescriptorImageDesc;
+pub use self::desc::DescriptorImageDescArray;
+pub use self::desc::DescriptorImageDescDimensions;
+pub use self::desc::DescriptorSetDesc;
+pub use self::desc::DescriptorSetDescSupersetError;
+pub use self::desc::DescriptorType;
+pub use self::sys::DescriptorSetLayout;
+
+mod desc;
+mod sys;