pub union DescriptorMappingSourceDataEXT<'a> {
pub constant_offset: DescriptorMappingSourceConstantOffsetEXT<'a>,
pub push_index: DescriptorMappingSourcePushIndexEXT<'a>,
pub indirect_index: DescriptorMappingSourceIndirectIndexEXT<'a>,
pub indirect_index_array: DescriptorMappingSourceIndirectIndexArrayEXT<'a>,
pub heap_data: DescriptorMappingSourceHeapDataEXT,
pub push_data_offset: u32,
pub push_address_offset: u32,
pub indirect_address: DescriptorMappingSourceIndirectAddressEXT,
pub shader_record_index: DescriptorMappingSourceShaderRecordIndexEXT<'a>,
pub shader_record_data_offset: u32,
pub shader_record_address_offset: u32,
/* private fields */
}Expand description
Native union VkDescriptorMappingSourceDataEXT.
Fields§
§constant_offset: DescriptorMappingSourceConstantOffsetEXT<'a>Native field constantOffset.
push_index: DescriptorMappingSourcePushIndexEXT<'a>Native field pushIndex.
indirect_index: DescriptorMappingSourceIndirectIndexEXT<'a>Native field indirectIndex.
indirect_index_array: DescriptorMappingSourceIndirectIndexArrayEXT<'a>Native field indirectIndexArray.
heap_data: DescriptorMappingSourceHeapDataEXTNative field heapData.
push_data_offset: u32Native field pushDataOffset.
push_address_offset: u32Native field pushAddressOffset.
indirect_address: DescriptorMappingSourceIndirectAddressEXTNative field indirectAddress.
shader_record_index: DescriptorMappingSourceShaderRecordIndexEXT<'a>Native field shaderRecordIndex.
shader_record_data_offset: u32Native field shaderRecordDataOffset.
shader_record_address_offset: u32Native field shaderRecordAddressOffset.
Implementations§
Source§impl<'a> DescriptorMappingSourceDataEXT<'a>
impl<'a> DescriptorMappingSourceDataEXT<'a>
Sourcepub fn set_constant_offset(
self,
value: DescriptorMappingSourceConstantOffsetEXT<'a>,
) -> Self
pub fn set_constant_offset( self, value: DescriptorMappingSourceConstantOffsetEXT<'a>, ) -> Self
Set native field constantOffset without native effects.
Sourcepub fn set_push_index(
self,
value: DescriptorMappingSourcePushIndexEXT<'a>,
) -> Self
pub fn set_push_index( self, value: DescriptorMappingSourcePushIndexEXT<'a>, ) -> Self
Set native field pushIndex without native effects.
Sourcepub fn set_indirect_index(
self,
value: DescriptorMappingSourceIndirectIndexEXT<'a>,
) -> Self
pub fn set_indirect_index( self, value: DescriptorMappingSourceIndirectIndexEXT<'a>, ) -> Self
Set native field indirectIndex without native effects.
Sourcepub fn set_indirect_index_array(
self,
value: DescriptorMappingSourceIndirectIndexArrayEXT<'a>,
) -> Self
pub fn set_indirect_index_array( self, value: DescriptorMappingSourceIndirectIndexArrayEXT<'a>, ) -> Self
Set native field indirectIndexArray without native effects.
Sourcepub fn set_heap_data(self, value: DescriptorMappingSourceHeapDataEXT) -> Self
pub fn set_heap_data(self, value: DescriptorMappingSourceHeapDataEXT) -> Self
Set native field heapData without native effects.
Sourcepub fn set_push_data_offset(self, value: u32) -> Self
pub fn set_push_data_offset(self, value: u32) -> Self
Set native field pushDataOffset without native effects.
Sourcepub fn set_push_address_offset(self, value: u32) -> Self
pub fn set_push_address_offset(self, value: u32) -> Self
Set native field pushAddressOffset without native effects.
Sourcepub fn set_indirect_address(
self,
value: DescriptorMappingSourceIndirectAddressEXT,
) -> Self
pub fn set_indirect_address( self, value: DescriptorMappingSourceIndirectAddressEXT, ) -> Self
Set native field indirectAddress without native effects.
Sourcepub fn set_shader_record_index(
self,
value: DescriptorMappingSourceShaderRecordIndexEXT<'a>,
) -> Self
pub fn set_shader_record_index( self, value: DescriptorMappingSourceShaderRecordIndexEXT<'a>, ) -> Self
Set native field shaderRecordIndex without native effects.
Sourcepub fn set_shader_record_data_offset(self, value: u32) -> Self
pub fn set_shader_record_data_offset(self, value: u32) -> Self
Set native field shaderRecordDataOffset without native effects.
Sourcepub fn set_shader_record_address_offset(self, value: u32) -> Self
pub fn set_shader_record_address_offset(self, value: u32) -> Self
Set native field shaderRecordAddressOffset without native effects.