Skip to main content

PhysicalDeviceDescriptorBufferPropertiesEXT

Struct PhysicalDeviceDescriptorBufferPropertiesEXT 

Source
pub struct PhysicalDeviceDescriptorBufferPropertiesEXT<'a> {
Show 35 fields pub s_type: StructureType, pub p_next: *mut c_void, pub combined_image_sampler_descriptor_single_array: Bool32, pub bufferless_push_descriptors: Bool32, pub allow_sampler_image_view_post_submit_creation: Bool32, pub descriptor_buffer_offset_alignment: DeviceSize, pub max_descriptor_buffer_bindings: u32, pub max_resource_descriptor_buffer_bindings: u32, pub max_sampler_descriptor_buffer_bindings: u32, pub max_embedded_immutable_sampler_bindings: u32, pub max_embedded_immutable_samplers: u32, pub buffer_capture_replay_descriptor_data_size: usize, pub image_capture_replay_descriptor_data_size: usize, pub image_view_capture_replay_descriptor_data_size: usize, pub sampler_capture_replay_descriptor_data_size: usize, pub acceleration_structure_capture_replay_descriptor_data_size: usize, pub sampler_descriptor_size: usize, pub combined_image_sampler_descriptor_size: usize, pub sampled_image_descriptor_size: usize, pub storage_image_descriptor_size: usize, pub uniform_texel_buffer_descriptor_size: usize, pub robust_uniform_texel_buffer_descriptor_size: usize, pub storage_texel_buffer_descriptor_size: usize, pub robust_storage_texel_buffer_descriptor_size: usize, pub uniform_buffer_descriptor_size: usize, pub robust_uniform_buffer_descriptor_size: usize, pub storage_buffer_descriptor_size: usize, pub robust_storage_buffer_descriptor_size: usize, pub input_attachment_descriptor_size: usize, pub acceleration_structure_descriptor_size: usize, pub max_sampler_descriptor_buffer_range: DeviceSize, pub max_resource_descriptor_buffer_range: DeviceSize, pub sampler_descriptor_buffer_address_space_size: DeviceSize, pub resource_descriptor_buffer_address_space_size: DeviceSize, pub descriptor_buffer_address_space_size: DeviceSize, /* private fields */
}
Expand description

Native structure VkPhysicalDeviceDescriptorBufferPropertiesEXT.

Khronos reference: VkPhysicalDeviceDescriptorBufferPropertiesEXT

Fields§

§s_type: StructureType

Native field sType.

§p_next: *mut c_void

Native field pNext.

§combined_image_sampler_descriptor_single_array: Bool32

Native field combinedImageSamplerDescriptorSingleArray.

§bufferless_push_descriptors: Bool32

Native field bufferlessPushDescriptors.

§allow_sampler_image_view_post_submit_creation: Bool32

Native field allowSamplerImageViewPostSubmitCreation.

§descriptor_buffer_offset_alignment: DeviceSize

Native field descriptorBufferOffsetAlignment.

§max_descriptor_buffer_bindings: u32

Native field maxDescriptorBufferBindings.

§max_resource_descriptor_buffer_bindings: u32

Native field maxResourceDescriptorBufferBindings.

§max_sampler_descriptor_buffer_bindings: u32

Native field maxSamplerDescriptorBufferBindings.

§max_embedded_immutable_sampler_bindings: u32

Native field maxEmbeddedImmutableSamplerBindings.

§max_embedded_immutable_samplers: u32

Native field maxEmbeddedImmutableSamplers.

§buffer_capture_replay_descriptor_data_size: usize

Native field bufferCaptureReplayDescriptorDataSize.

§image_capture_replay_descriptor_data_size: usize

Native field imageCaptureReplayDescriptorDataSize.

§image_view_capture_replay_descriptor_data_size: usize

Native field imageViewCaptureReplayDescriptorDataSize.

§sampler_capture_replay_descriptor_data_size: usize

Native field samplerCaptureReplayDescriptorDataSize.

§acceleration_structure_capture_replay_descriptor_data_size: usize

Native field accelerationStructureCaptureReplayDescriptorDataSize.

§sampler_descriptor_size: usize

Native field samplerDescriptorSize.

§combined_image_sampler_descriptor_size: usize

Native field combinedImageSamplerDescriptorSize.

§sampled_image_descriptor_size: usize

Native field sampledImageDescriptorSize.

§storage_image_descriptor_size: usize

Native field storageImageDescriptorSize.

§uniform_texel_buffer_descriptor_size: usize

Native field uniformTexelBufferDescriptorSize.

§robust_uniform_texel_buffer_descriptor_size: usize

Native field robustUniformTexelBufferDescriptorSize.

§storage_texel_buffer_descriptor_size: usize

Native field storageTexelBufferDescriptorSize.

§robust_storage_texel_buffer_descriptor_size: usize

Native field robustStorageTexelBufferDescriptorSize.

§uniform_buffer_descriptor_size: usize

Native field uniformBufferDescriptorSize.

§robust_uniform_buffer_descriptor_size: usize

Native field robustUniformBufferDescriptorSize.

§storage_buffer_descriptor_size: usize

Native field storageBufferDescriptorSize.

§robust_storage_buffer_descriptor_size: usize

Native field robustStorageBufferDescriptorSize.

§input_attachment_descriptor_size: usize

Native field inputAttachmentDescriptorSize.

§acceleration_structure_descriptor_size: usize

Native field accelerationStructureDescriptorSize.

§max_sampler_descriptor_buffer_range: DeviceSize

Native field maxSamplerDescriptorBufferRange.

§max_resource_descriptor_buffer_range: DeviceSize

Native field maxResourceDescriptorBufferRange.

§sampler_descriptor_buffer_address_space_size: DeviceSize

Native field samplerDescriptorBufferAddressSpaceSize.

§resource_descriptor_buffer_address_space_size: DeviceSize

Native field resourceDescriptorBufferAddressSpaceSize.

§descriptor_buffer_address_space_size: DeviceSize

Native field descriptorBufferAddressSpaceSize.

Implementations§

Source§

impl<'a> PhysicalDeviceDescriptorBufferPropertiesEXT<'a>

Source

pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

Source

pub fn set_combined_image_sampler_descriptor_single_array( self, value: Bool32, ) -> Self

Set native field combinedImageSamplerDescriptorSingleArray without native effects.

Source

pub fn set_bufferless_push_descriptors(self, value: Bool32) -> Self

Set native field bufferlessPushDescriptors without native effects.

Source

pub fn set_allow_sampler_image_view_post_submit_creation( self, value: Bool32, ) -> Self

Set native field allowSamplerImageViewPostSubmitCreation without native effects.

Source

pub fn set_descriptor_buffer_offset_alignment(self, value: DeviceSize) -> Self

Set native field descriptorBufferOffsetAlignment without native effects.

Source

pub fn set_max_descriptor_buffer_bindings(self, value: u32) -> Self

Set native field maxDescriptorBufferBindings without native effects.

Source

pub fn set_max_resource_descriptor_buffer_bindings(self, value: u32) -> Self

Set native field maxResourceDescriptorBufferBindings without native effects.

Source

pub fn set_max_sampler_descriptor_buffer_bindings(self, value: u32) -> Self

Set native field maxSamplerDescriptorBufferBindings without native effects.

Source

pub fn set_max_embedded_immutable_sampler_bindings(self, value: u32) -> Self

Set native field maxEmbeddedImmutableSamplerBindings without native effects.

Source

pub fn set_max_embedded_immutable_samplers(self, value: u32) -> Self

Set native field maxEmbeddedImmutableSamplers without native effects.

Source

pub fn set_buffer_capture_replay_descriptor_data_size( self, value: usize, ) -> Self

Set native field bufferCaptureReplayDescriptorDataSize without native effects.

Source

pub fn set_image_capture_replay_descriptor_data_size(self, value: usize) -> Self

Set native field imageCaptureReplayDescriptorDataSize without native effects.

Source

pub fn set_image_view_capture_replay_descriptor_data_size( self, value: usize, ) -> Self

Set native field imageViewCaptureReplayDescriptorDataSize without native effects.

Source

pub fn set_sampler_capture_replay_descriptor_data_size( self, value: usize, ) -> Self

Set native field samplerCaptureReplayDescriptorDataSize without native effects.

Source

pub fn set_acceleration_structure_capture_replay_descriptor_data_size( self, value: usize, ) -> Self

Set native field accelerationStructureCaptureReplayDescriptorDataSize without native effects.

Source

pub fn set_sampler_descriptor_size(self, value: usize) -> Self

Set native field samplerDescriptorSize without native effects.

Source

pub fn set_combined_image_sampler_descriptor_size(self, value: usize) -> Self

Set native field combinedImageSamplerDescriptorSize without native effects.

Source

pub fn set_sampled_image_descriptor_size(self, value: usize) -> Self

Set native field sampledImageDescriptorSize without native effects.

Source

pub fn set_storage_image_descriptor_size(self, value: usize) -> Self

Set native field storageImageDescriptorSize without native effects.

Source

pub fn set_uniform_texel_buffer_descriptor_size(self, value: usize) -> Self

Set native field uniformTexelBufferDescriptorSize without native effects.

Source

pub fn set_robust_uniform_texel_buffer_descriptor_size( self, value: usize, ) -> Self

Set native field robustUniformTexelBufferDescriptorSize without native effects.

Source

pub fn set_storage_texel_buffer_descriptor_size(self, value: usize) -> Self

Set native field storageTexelBufferDescriptorSize without native effects.

Source

pub fn set_robust_storage_texel_buffer_descriptor_size( self, value: usize, ) -> Self

Set native field robustStorageTexelBufferDescriptorSize without native effects.

Source

pub fn set_uniform_buffer_descriptor_size(self, value: usize) -> Self

Set native field uniformBufferDescriptorSize without native effects.

Source

pub fn set_robust_uniform_buffer_descriptor_size(self, value: usize) -> Self

Set native field robustUniformBufferDescriptorSize without native effects.

Source

pub fn set_storage_buffer_descriptor_size(self, value: usize) -> Self

Set native field storageBufferDescriptorSize without native effects.

Source

pub fn set_robust_storage_buffer_descriptor_size(self, value: usize) -> Self

Set native field robustStorageBufferDescriptorSize without native effects.

Source

pub fn set_input_attachment_descriptor_size(self, value: usize) -> Self

Set native field inputAttachmentDescriptorSize without native effects.

Source

pub fn set_acceleration_structure_descriptor_size(self, value: usize) -> Self

Set native field accelerationStructureDescriptorSize without native effects.

Source

pub fn set_max_sampler_descriptor_buffer_range(self, value: DeviceSize) -> Self

Set native field maxSamplerDescriptorBufferRange without native effects.

Source

pub fn set_max_resource_descriptor_buffer_range(self, value: DeviceSize) -> Self

Set native field maxResourceDescriptorBufferRange without native effects.

Source

pub fn set_sampler_descriptor_buffer_address_space_size( self, value: DeviceSize, ) -> Self

Set native field samplerDescriptorBufferAddressSpaceSize without native effects.

Source

pub fn set_resource_descriptor_buffer_address_space_size( self, value: DeviceSize, ) -> Self

Set native field resourceDescriptorBufferAddressSpaceSize without native effects.

Source

pub fn set_descriptor_buffer_address_space_size(self, value: DeviceSize) -> Self

Set native field descriptorBufferAddressSpaceSize without native effects.

Source

pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

§Errors

Returns a construction error for a changed structure tag or already-linked node.

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.