[−][src]Struct basalt::shaders::interface_fs::Layout
Trait Implementations
impl Clone for Layout
[src]
fn clone(&self) -> Layout
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Layout
[src]
impl PipelineLayoutDesc for Layout
[src]
fn num_sets(&self) -> usize
[src]
fn num_bindings_in_set(&self, set: usize) -> Option<usize>
[src]
fn descriptor(&self, set: usize, binding: usize) -> Option<DescriptorDesc>
[src]
fn num_push_constants_ranges(&self) -> usize
[src]
fn push_constants_range(&self, num: usize) -> Option<PipelineLayoutDescPcRange>
[src]
fn provided_set_layout(
&self,
_set: usize
) -> Option<Arc<UnsafeDescriptorSetLayout>>
[src]
&self,
_set: usize
) -> Option<Arc<UnsafeDescriptorSetLayout>>
If the PipelineLayoutDesc
implementation is able to provide an existing UnsafeDescriptorSetLayout
for a given set, it can do so by returning it here. Read more
fn union<T>(self, other: T) -> PipelineLayoutDescUnion<Self, T>
[src]
Builds the union of this layout and another.
fn check_against_limits(
&self,
device: &Device
) -> Result<(), PipelineLayoutLimitsError>
[src]
&self,
device: &Device
) -> Result<(), PipelineLayoutLimitsError>
Checks whether this description fulfills the device limits requirements.
fn build(
self,
device: Arc<Device>
) -> Result<PipelineLayout<Self>, PipelineLayoutCreationError>
[src]
self,
device: Arc<Device>
) -> Result<PipelineLayout<Self>, PipelineLayoutCreationError>
Turns the layout description into a PipelineLayout
object that can be used by Vulkan. Read more
Auto Trait Implementations
impl Sync for Layout
impl Send for Layout
impl Unpin for Layout
impl RefUnwindSafe for Layout
impl UnwindSafe for Layout
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<T> Content for T
[src]
fn ref_from_ptr(ptr: *mut c_void, size: usize) -> Option<*mut T>
[src]
fn is_size_suitable(size: usize) -> bool
[src]
fn indiv_size() -> usize
[src]
impl<T> PipelineLayoutDesc for T where
T: SafeDeref,
<T as Deref>::Target: PipelineLayoutDesc,
[src]
T: SafeDeref,
<T as Deref>::Target: PipelineLayoutDesc,
fn num_sets(&self) -> usize
[src]
fn num_bindings_in_set(&self, set: usize) -> Option<usize>
[src]
fn descriptor(&self, set: usize, binding: usize) -> Option<DescriptorDesc>
[src]
fn num_push_constants_ranges(&self) -> usize
[src]
fn push_constants_range(&self, num: usize) -> Option<PipelineLayoutDescPcRange>
[src]
fn provided_set_layout(
&self,
_set: usize
) -> Option<Arc<UnsafeDescriptorSetLayout>>
[src]
&self,
_set: usize
) -> Option<Arc<UnsafeDescriptorSetLayout>>
If the PipelineLayoutDesc
implementation is able to provide an existing UnsafeDescriptorSetLayout
for a given set, it can do so by returning it here. Read more
fn union<T>(self, other: T) -> PipelineLayoutDescUnion<Self, T>
[src]
Builds the union of this layout and another.
fn check_against_limits(
&self,
device: &Device
) -> Result<(), PipelineLayoutLimitsError>
[src]
&self,
device: &Device
) -> Result<(), PipelineLayoutLimitsError>
Checks whether this description fulfills the device limits requirements.
fn build(
self,
device: Arc<Device>
) -> Result<PipelineLayout<Self>, PipelineLayoutCreationError>
[src]
self,
device: Arc<Device>
) -> Result<PipelineLayout<Self>, PipelineLayoutCreationError>
Turns the layout description into a PipelineLayout
object that can be used by Vulkan. Read more
impl<T, U> PipelineLayoutPushConstantsCompatible<U> for T where
T: PipelineLayoutDesc + ?Sized,
U: ?Sized,
[src]
T: PipelineLayoutDesc + ?Sized,
U: ?Sized,
fn is_compatible(&self, &U) -> bool
[src]
impl<T, U> PipelineLayoutSuperset<U> for T where
T: PipelineLayoutDesc + ?Sized,
U: PipelineLayoutDesc + ?Sized,
[src]
T: PipelineLayoutDesc + ?Sized,
U: PipelineLayoutDesc + ?Sized,
fn ensure_superset_of(
&self,
other: &U
) -> Result<(), PipelineLayoutNotSupersetError>
[src]
&self,
other: &U
) -> Result<(), PipelineLayoutNotSupersetError>
impl<T, U> PipelineLayoutSetsCompatible<U> for T where
T: PipelineLayoutDesc + ?Sized,
U: DescriptorSetsCollection + ?Sized,
[src]
T: PipelineLayoutDesc + ?Sized,
U: DescriptorSetsCollection + ?Sized,
fn is_compatible(&self, sets: &U) -> bool
[src]
impl<T> SafeBorrow<T> for T
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
Sets value
as a parameter of self
.