#[repr(C)]pub struct SwapchainStateSamplerVulkanFB {Show 13 fields
pub ty: StructureType,
pub next: *mut c_void,
pub min_filter: VkFilter,
pub mag_filter: VkFilter,
pub mipmap_mode: VkSamplerMipmapMode,
pub wrap_mode_s: VkSamplerAddressMode,
pub wrap_mode_t: VkSamplerAddressMode,
pub swizzle_red: VkComponentSwizzle,
pub swizzle_green: VkComponentSwizzle,
pub swizzle_blue: VkComponentSwizzle,
pub swizzle_alpha: VkComponentSwizzle,
pub max_anisotropy: f32,
pub border_color: Color4f,
}
Expand description
See XrSwapchainStateSamplerVulkanFB - defined by XR_FB_swapchain_update_state_vulkan
Fields§
§ty: StructureType
§next: *mut c_void
§min_filter: VkFilter
§mag_filter: VkFilter
§mipmap_mode: VkSamplerMipmapMode
§wrap_mode_s: VkSamplerAddressMode
§wrap_mode_t: VkSamplerAddressMode
§swizzle_red: VkComponentSwizzle
§swizzle_green: VkComponentSwizzle
§swizzle_blue: VkComponentSwizzle
§swizzle_alpha: VkComponentSwizzle
§max_anisotropy: f32
§border_color: Color4f
Implementations§
source§impl SwapchainStateSamplerVulkanFB
impl SwapchainStateSamplerVulkanFB
pub const TYPE: StructureType = StructureType::SWAPCHAIN_STATE_SAMPLER_VULKAN_FB
sourcepub fn out(next: *mut BaseOutStructure) -> MaybeUninit<Self>
pub fn out(next: *mut BaseOutStructure) -> MaybeUninit<Self>
Construct a partially-initialized value suitable for passing to OpenXR
Trait Implementations§
source§impl Clone for SwapchainStateSamplerVulkanFB
impl Clone for SwapchainStateSamplerVulkanFB
source§fn clone(&self) -> SwapchainStateSamplerVulkanFB
fn clone(&self) -> SwapchainStateSamplerVulkanFB
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 moreimpl Copy for SwapchainStateSamplerVulkanFB
Auto Trait Implementations§
impl RefUnwindSafe for SwapchainStateSamplerVulkanFB
impl !Send for SwapchainStateSamplerVulkanFB
impl !Sync for SwapchainStateSamplerVulkanFB
impl Unpin for SwapchainStateSamplerVulkanFB
impl UnwindSafe for SwapchainStateSamplerVulkanFB
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