#[repr(C)]pub struct PhysicalDeviceFragmentShaderBarycentricFeaturesKHR {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub fragment_shader_barycentric: u32,
}Expand description
VkPhysicalDeviceFragmentShaderBarycentricFeaturesKHR
Provided by VK_KHR_fragment_shader_barycentric.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_FEATURES_KHR.
p_next: *mut c_voidOptional, may be null.
fragment_shader_barycentric: u32Implementations§
Source§impl PhysicalDeviceFragmentShaderBarycentricFeaturesKHR
impl PhysicalDeviceFragmentShaderBarycentricFeaturesKHR
Sourcepub fn builder<'a>() -> PhysicalDeviceFragmentShaderBarycentricFeaturesKHRBuilder<'a>
pub fn builder<'a>() -> PhysicalDeviceFragmentShaderBarycentricFeaturesKHRBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for PhysicalDeviceFragmentShaderBarycentricFeaturesKHR
impl Clone for PhysicalDeviceFragmentShaderBarycentricFeaturesKHR
Source§fn clone(&self) -> PhysicalDeviceFragmentShaderBarycentricFeaturesKHR
fn clone(&self) -> PhysicalDeviceFragmentShaderBarycentricFeaturesKHR
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 moreimpl Copy for PhysicalDeviceFragmentShaderBarycentricFeaturesKHR
impl ExtendsDeviceCreateInfo for PhysicalDeviceFragmentShaderBarycentricFeaturesKHR
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceFragmentShaderBarycentricFeaturesKHR
Auto Trait Implementations§
impl Freeze for PhysicalDeviceFragmentShaderBarycentricFeaturesKHR
impl RefUnwindSafe for PhysicalDeviceFragmentShaderBarycentricFeaturesKHR
impl !Send for PhysicalDeviceFragmentShaderBarycentricFeaturesKHR
impl !Sync for PhysicalDeviceFragmentShaderBarycentricFeaturesKHR
impl Unpin for PhysicalDeviceFragmentShaderBarycentricFeaturesKHR
impl UnsafeUnpin for PhysicalDeviceFragmentShaderBarycentricFeaturesKHR
impl UnwindSafe for PhysicalDeviceFragmentShaderBarycentricFeaturesKHR
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