mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-22 14:56:42 +00:00
Deprecated simple_descriptor_set!
This commit is contained in:
parent
98293a2f5e
commit
d145149278
@ -101,6 +101,7 @@ unsafe impl<R, P> DescriptorSetDesc for SimpleDescriptorSet<R, P>
|
||||
/// Builds a descriptor set in the form of a `SimpleDescriptorSet` object.
|
||||
// TODO: more doc
|
||||
#[macro_export]
|
||||
#[deprecated(note = "Use `PersistentDescriptorSet` instead")]
|
||||
macro_rules! simple_descriptor_set {
|
||||
($layout:expr, $set_num:expr, {$($name:ident: $val:expr),*$(,)*}) => ({
|
||||
#[allow(unused_imports)]
|
||||
@ -142,6 +143,7 @@ macro_rules! simple_descriptor_set {
|
||||
///
|
||||
/// # Example
|
||||
// TODO: example here
|
||||
#[deprecated(note = "Use `PersistentDescriptorSet` instead of `simple_descriptor_set!`")]
|
||||
pub struct SimpleDescriptorSetBuilder<L, R> {
|
||||
// The pipeline layout.
|
||||
layout: L,
|
||||
|
Loading…
Reference in New Issue
Block a user