pub struct DescriptorMappingSourceShaderRecordIndexEXT<'a> {
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<'a>,
pub use_combined_image_sampler_index: Bool32,
pub sampler_heap_offset: u32,
pub sampler_shader_record_offset: u32,
pub sampler_heap_index_stride: u32,
pub sampler_heap_array_stride: u32,
/* private fields */
}Expand description
Native structure VkDescriptorMappingSourceShaderRecordIndexEXT.
Khronos reference: VkDescriptorMappingSourceShaderRecordIndexEXT
Fields§
§heap_offset: u32Native field heapOffset.
shader_record_offset: u32Native field shaderRecordOffset.
heap_index_stride: u32Native field heapIndexStride.
heap_array_stride: u32Native field heapArrayStride.
p_embedded_sampler: *const SamplerCreateInfo<'a>Native field pEmbeddedSampler.
use_combined_image_sampler_index: Bool32Native field useCombinedImageSamplerIndex.
sampler_heap_offset: u32Native field samplerHeapOffset.
sampler_shader_record_offset: u32Native field samplerShaderRecordOffset.
sampler_heap_index_stride: u32Native field samplerHeapIndexStride.
sampler_heap_array_stride: u32Native field samplerHeapArrayStride.
Implementations§
Source§impl<'a> DescriptorMappingSourceShaderRecordIndexEXT<'a>
impl<'a> DescriptorMappingSourceShaderRecordIndexEXT<'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_shader_record_offset(self, value: u32) -> Self
pub fn set_shader_record_offset(self, value: u32) -> Self
Set native field shaderRecordOffset without native effects.
Sourcepub fn set_heap_index_stride(self, value: u32) -> Self
pub fn set_heap_index_stride(self, value: u32) -> Self
Set native field heapIndexStride 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_use_combined_image_sampler_index(self, value: Bool32) -> Self
pub fn set_use_combined_image_sampler_index(self, value: Bool32) -> Self
Set native field useCombinedImageSamplerIndex 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_shader_record_offset(self, value: u32) -> Self
pub fn set_sampler_shader_record_offset(self, value: u32) -> Self
Set native field samplerShaderRecordOffset without native effects.
Sourcepub fn set_sampler_heap_index_stride(self, value: u32) -> Self
pub fn set_sampler_heap_index_stride(self, value: u32) -> Self
Set native field samplerHeapIndexStride 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.