pub struct DescriptorMappingSourceConstantOffsetEXT<'a> {
pub heap_offset: u32,
pub heap_array_stride: u32,
pub p_embedded_sampler: *const SamplerCreateInfo<'a>,
pub sampler_heap_offset: u32,
pub sampler_heap_array_stride: u32,
/* private fields */
}Expand description
Native structure VkDescriptorMappingSourceConstantOffsetEXT.
Khronos reference: VkDescriptorMappingSourceConstantOffsetEXT
Fields§
§heap_offset: u32Native field heapOffset.
heap_array_stride: u32Native field heapArrayStride.
p_embedded_sampler: *const SamplerCreateInfo<'a>Native field pEmbeddedSampler.
sampler_heap_offset: u32Native field samplerHeapOffset.
sampler_heap_array_stride: u32Native field samplerHeapArrayStride.
Implementations§
Source§impl<'a> DescriptorMappingSourceConstantOffsetEXT<'a>
impl<'a> DescriptorMappingSourceConstantOffsetEXT<'a>
Sourcepub fn set_heap_offset(self, value: u32) -> Self
pub fn set_heap_offset(self, value: u32) -> Self
Set native field heapOffset without native effects.
Sourcepub fn set_heap_array_stride(self, value: u32) -> Self
pub fn set_heap_array_stride(self, value: u32) -> Self
Set native field heapArrayStride without native effects.
Sourcepub fn set_embedded_sampler(self, value: &'a SamplerCreateInfo<'a>) -> Self
pub fn set_embedded_sampler(self, value: &'a SamplerCreateInfo<'a>) -> Self
Set native field pEmbeddedSampler without native effects.
Sourcepub fn set_sampler_heap_offset(self, value: u32) -> Self
pub fn set_sampler_heap_offset(self, value: u32) -> Self
Set native field samplerHeapOffset without native effects.
Sourcepub fn set_sampler_heap_array_stride(self, value: u32) -> Self
pub fn set_sampler_heap_array_stride(self, value: u32) -> Self
Set native field samplerHeapArrayStride without native effects.
Trait Implementations§
Source§impl<'a> Clone for DescriptorMappingSourceConstantOffsetEXT<'a>
impl<'a> Clone for DescriptorMappingSourceConstantOffsetEXT<'a>
impl<'a> Copy for DescriptorMappingSourceConstantOffsetEXT<'a>
Auto Trait Implementations§
impl<'a> !Send for DescriptorMappingSourceConstantOffsetEXT<'a>
impl<'a> !Sync for DescriptorMappingSourceConstantOffsetEXT<'a>
impl<'a> Forget for DescriptorMappingSourceConstantOffsetEXT<'a>
impl<'a> Freeze for DescriptorMappingSourceConstantOffsetEXT<'a>
impl<'a> Move for DescriptorMappingSourceConstantOffsetEXT<'a>
impl<'a> RefUnwindSafe for DescriptorMappingSourceConstantOffsetEXT<'a>
impl<'a> Unpin for DescriptorMappingSourceConstantOffsetEXT<'a>
impl<'a> UnsafeUnpin for DescriptorMappingSourceConstantOffsetEXT<'a>
impl<'a> UnwindSafe for DescriptorMappingSourceConstantOffsetEXT<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more