#[repr(C)]pub struct PhysicalDeviceTexelBufferAlignmentProperties<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub storage_texel_buffer_offset_alignment_bytes: DeviceSize,
pub storage_texel_buffer_offset_single_texel_alignment: Bool32,
pub uniform_texel_buffer_offset_alignment_bytes: DeviceSize,
pub uniform_texel_buffer_offset_single_texel_alignment: Bool32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§storage_texel_buffer_offset_alignment_bytes: DeviceSize
§storage_texel_buffer_offset_single_texel_alignment: Bool32
§uniform_texel_buffer_offset_alignment_bytes: DeviceSize
§uniform_texel_buffer_offset_single_texel_alignment: Bool32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PhysicalDeviceTexelBufferAlignmentProperties<'a>
impl<'a> PhysicalDeviceTexelBufferAlignmentProperties<'a>
pub fn storage_texel_buffer_offset_alignment_bytes( self, storage_texel_buffer_offset_alignment_bytes: DeviceSize, ) -> Self
pub fn storage_texel_buffer_offset_single_texel_alignment( self, storage_texel_buffer_offset_single_texel_alignment: bool, ) -> Self
pub fn uniform_texel_buffer_offset_alignment_bytes( self, uniform_texel_buffer_offset_alignment_bytes: DeviceSize, ) -> Self
pub fn uniform_texel_buffer_offset_single_texel_alignment( self, uniform_texel_buffer_offset_single_texel_alignment: bool, ) -> Self
Trait Implementations§
source§impl<'a> Clone for PhysicalDeviceTexelBufferAlignmentProperties<'a>
impl<'a> Clone for PhysicalDeviceTexelBufferAlignmentProperties<'a>
source§fn clone(&self) -> PhysicalDeviceTexelBufferAlignmentProperties<'a>
fn clone(&self) -> PhysicalDeviceTexelBufferAlignmentProperties<'a>
Returns a copy 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 moresource§impl<'a> Debug for PhysicalDeviceTexelBufferAlignmentProperties<'a>
impl<'a> Debug for PhysicalDeviceTexelBufferAlignmentProperties<'a>
source§impl<'a> TaggedStructure for PhysicalDeviceTexelBufferAlignmentProperties<'a>
impl<'a> TaggedStructure for PhysicalDeviceTexelBufferAlignmentProperties<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_PROPERTIES
impl<'a> Copy for PhysicalDeviceTexelBufferAlignmentProperties<'a>
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceTexelBufferAlignmentProperties<'_>
impl Send for PhysicalDeviceTexelBufferAlignmentProperties<'_>
impl Sync for PhysicalDeviceTexelBufferAlignmentProperties<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceTexelBufferAlignmentProperties<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceTexelBufferAlignmentProperties<'a>
impl<'a> Unpin for PhysicalDeviceTexelBufferAlignmentProperties<'a>
impl<'a> UnwindSafe for PhysicalDeviceTexelBufferAlignmentProperties<'a>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)