pub union DescriptorDataEXT<'a> {
pub p_sampler: *const Sampler,
pub p_combined_image_sampler: *const DescriptorImageInfo,
pub p_input_attachment_image: *const DescriptorImageInfo,
pub p_sampled_image: *const DescriptorImageInfo,
pub p_storage_image: *const DescriptorImageInfo,
pub p_uniform_texel_buffer: *const DescriptorAddressInfoEXT<'a>,
pub p_storage_texel_buffer: *const DescriptorAddressInfoEXT<'a>,
pub p_uniform_buffer: *const DescriptorAddressInfoEXT<'a>,
pub p_storage_buffer: *const DescriptorAddressInfoEXT<'a>,
pub acceleration_structure: DeviceAddress,
/* private fields */
}Expand description
Native union VkDescriptorDataEXT.
Fields§
§p_sampler: *const SamplerNative field pSampler.
p_combined_image_sampler: *const DescriptorImageInfoNative field pCombinedImageSampler.
p_input_attachment_image: *const DescriptorImageInfoNative field pInputAttachmentImage.
p_sampled_image: *const DescriptorImageInfoNative field pSampledImage.
p_storage_image: *const DescriptorImageInfoNative field pStorageImage.
p_uniform_texel_buffer: *const DescriptorAddressInfoEXT<'a>Native field pUniformTexelBuffer.
p_storage_texel_buffer: *const DescriptorAddressInfoEXT<'a>Native field pStorageTexelBuffer.
p_uniform_buffer: *const DescriptorAddressInfoEXT<'a>Native field pUniformBuffer.
p_storage_buffer: *const DescriptorAddressInfoEXT<'a>Native field pStorageBuffer.
acceleration_structure: DeviceAddressNative field accelerationStructure.
Implementations§
Source§impl<'a> DescriptorDataEXT<'a>
impl<'a> DescriptorDataEXT<'a>
Sourcepub fn set_sampler(self, value: &'a Sampler) -> Self
pub fn set_sampler(self, value: &'a Sampler) -> Self
Set native field pSampler without native effects.
Sourcepub fn set_combined_image_sampler(self, value: &'a DescriptorImageInfo) -> Self
pub fn set_combined_image_sampler(self, value: &'a DescriptorImageInfo) -> Self
Set native field pCombinedImageSampler without native effects.
Sourcepub fn set_input_attachment_image(self, value: &'a DescriptorImageInfo) -> Self
pub fn set_input_attachment_image(self, value: &'a DescriptorImageInfo) -> Self
Set native field pInputAttachmentImage without native effects.
Sourcepub fn set_sampled_image(self, value: &'a DescriptorImageInfo) -> Self
pub fn set_sampled_image(self, value: &'a DescriptorImageInfo) -> Self
Set native field pSampledImage without native effects.
Sourcepub fn set_storage_image(self, value: &'a DescriptorImageInfo) -> Self
pub fn set_storage_image(self, value: &'a DescriptorImageInfo) -> Self
Set native field pStorageImage without native effects.
Sourcepub fn set_uniform_texel_buffer(
self,
value: &'a DescriptorAddressInfoEXT<'a>,
) -> Self
pub fn set_uniform_texel_buffer( self, value: &'a DescriptorAddressInfoEXT<'a>, ) -> Self
Set native field pUniformTexelBuffer without native effects.
Sourcepub fn set_storage_texel_buffer(
self,
value: &'a DescriptorAddressInfoEXT<'a>,
) -> Self
pub fn set_storage_texel_buffer( self, value: &'a DescriptorAddressInfoEXT<'a>, ) -> Self
Set native field pStorageTexelBuffer without native effects.
Sourcepub fn set_uniform_buffer(self, value: &'a DescriptorAddressInfoEXT<'a>) -> Self
pub fn set_uniform_buffer(self, value: &'a DescriptorAddressInfoEXT<'a>) -> Self
Set native field pUniformBuffer without native effects.
Sourcepub fn set_storage_buffer(self, value: &'a DescriptorAddressInfoEXT<'a>) -> Self
pub fn set_storage_buffer(self, value: &'a DescriptorAddressInfoEXT<'a>) -> Self
Set native field pStorageBuffer without native effects.
Sourcepub fn set_acceleration_structure(self, value: DeviceAddress) -> Self
pub fn set_acceleration_structure(self, value: DeviceAddress) -> Self
Set native field accelerationStructure without native effects.