#[repr(C)]pub struct ScreenBufferFormatPropertiesQNX {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub format: Format,
pub external_format: u64,
pub screen_usage: u64,
pub format_features: FormatFeatureFlagBits,
pub sampler_ycbcr_conversion_components: ComponentMapping,
pub suggested_ycbcr_model: SamplerYcbcrModelConversion,
pub suggested_ycbcr_range: SamplerYcbcrRange,
pub suggested_x_chroma_offset: ChromaLocation,
pub suggested_y_chroma_offset: ChromaLocation,
}Expand description
VkScreenBufferFormatPropertiesQNX
Provided by VK_QNX_external_memory_screen_buffer.
Returned only*, filled by Vulkan, not constructed by the application.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_SCREEN_BUFFER_FORMAT_PROPERTIES_QNX.
p_next: *mut c_voidOptional, may be null.
format: Format§external_format: u64§screen_usage: u64§format_features: FormatFeatureFlagBits§sampler_ycbcr_conversion_components: ComponentMapping§suggested_ycbcr_model: SamplerYcbcrModelConversion§suggested_ycbcr_range: SamplerYcbcrRange§suggested_x_chroma_offset: ChromaLocation§suggested_y_chroma_offset: ChromaLocationImplementations§
Source§impl ScreenBufferFormatPropertiesQNX
impl ScreenBufferFormatPropertiesQNX
Sourcepub fn builder<'a>() -> ScreenBufferFormatPropertiesQNXBuilder<'a>
pub fn builder<'a>() -> ScreenBufferFormatPropertiesQNXBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for ScreenBufferFormatPropertiesQNX
impl Clone for ScreenBufferFormatPropertiesQNX
Source§fn clone(&self) -> ScreenBufferFormatPropertiesQNX
fn clone(&self) -> ScreenBufferFormatPropertiesQNX
Returns a duplicate 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 Default for ScreenBufferFormatPropertiesQNX
impl Default for ScreenBufferFormatPropertiesQNX
Source§fn default() -> ScreenBufferFormatPropertiesQNX
fn default() -> ScreenBufferFormatPropertiesQNX
Returns the “default value” for a type. Read more
impl Copy for ScreenBufferFormatPropertiesQNX
impl ExtendsScreenBufferPropertiesQNX for ScreenBufferFormatPropertiesQNX
Auto Trait Implementations§
impl Freeze for ScreenBufferFormatPropertiesQNX
impl RefUnwindSafe for ScreenBufferFormatPropertiesQNX
impl !Send for ScreenBufferFormatPropertiesQNX
impl !Sync for ScreenBufferFormatPropertiesQNX
impl Unpin for ScreenBufferFormatPropertiesQNX
impl UnsafeUnpin for ScreenBufferFormatPropertiesQNX
impl UnwindSafe for ScreenBufferFormatPropertiesQNX
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