#[repr(C)]pub struct DescriptorMappingSourceShaderRecordIndexEXT {
pub heap_offset: u32,
pub shader_record_offset: u32,
pub heap_index_stride: u32,
pub heap_array_stride: u32,
pub p_embedded_sampler: *const SamplerCreateInfo,
pub use_combined_image_sampler_index: u32,
pub sampler_heap_offset: u32,
pub sampler_shader_record_offset: u32,
pub sampler_heap_index_stride: u32,
pub sampler_heap_array_stride: u32,
}Expand description
VkDescriptorMappingSourceShaderRecordIndexEXT
Provided by VK_EXT_descriptor_heap.
Fields§
§heap_offset: u32§shader_record_offset: u32§heap_index_stride: u32§heap_array_stride: u32§p_embedded_sampler: *const SamplerCreateInfoOptional, may be null.
use_combined_image_sampler_index: u32§sampler_heap_offset: u32§sampler_shader_record_offset: u32§sampler_heap_index_stride: u32§sampler_heap_array_stride: u32Implementations§
Source§impl DescriptorMappingSourceShaderRecordIndexEXT
impl DescriptorMappingSourceShaderRecordIndexEXT
Sourcepub fn builder<'a>() -> DescriptorMappingSourceShaderRecordIndexEXTBuilder<'a>
pub fn builder<'a>() -> DescriptorMappingSourceShaderRecordIndexEXTBuilder<'a>
Start building this struct.
Trait Implementations§
Source§impl Clone for DescriptorMappingSourceShaderRecordIndexEXT
impl Clone for DescriptorMappingSourceShaderRecordIndexEXT
Source§fn clone(&self) -> DescriptorMappingSourceShaderRecordIndexEXT
fn clone(&self) -> DescriptorMappingSourceShaderRecordIndexEXT
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DescriptorMappingSourceShaderRecordIndexEXT
Auto Trait Implementations§
impl Freeze for DescriptorMappingSourceShaderRecordIndexEXT
impl RefUnwindSafe for DescriptorMappingSourceShaderRecordIndexEXT
impl !Send for DescriptorMappingSourceShaderRecordIndexEXT
impl !Sync for DescriptorMappingSourceShaderRecordIndexEXT
impl Unpin for DescriptorMappingSourceShaderRecordIndexEXT
impl UnsafeUnpin for DescriptorMappingSourceShaderRecordIndexEXT
impl UnwindSafe for DescriptorMappingSourceShaderRecordIndexEXT
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