#[repr(C)]pub struct ovrTextureSwapChainDesc {
pub Type: ovrTextureType,
pub Format: ovrTextureFormat,
pub ArraySize: c_int,
pub Width: c_int,
pub Height: c_int,
pub MipLevels: c_int,
pub SampleCount: c_int,
pub StaticImage: ovrBool,
pub MiscFlags: c_uint,
pub BindFlags: c_uint,
}Expand description
Description used to create a texture swap chain.
see ovr_CreateTextureSwapChainDX, ovr_CreateTextureSwapChainGL, ovr_CreateTextureSwapChainVk
Fields§
§Type: ovrTextureType§Format: ovrTextureFormat§ArraySize: c_intOnly supported with ovrTexture_2D. Not supported on PC at this time.
Width: c_int§Height: c_int§MipLevels: c_int§SampleCount: c_intCurrent only supported on depth textures
StaticImage: ovrBoolNot buffered in a chain. For images that don’t change
MiscFlags: c_uintovrTextureFlags
BindFlags: c_uintovrTextureBindFlags. Not used for GL.
Trait Implementations§
Source§impl Clone for ovrTextureSwapChainDesc
impl Clone for ovrTextureSwapChainDesc
Source§fn clone(&self) -> ovrTextureSwapChainDesc
fn clone(&self) -> ovrTextureSwapChainDesc
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 Debug for ovrTextureSwapChainDesc
impl Debug for ovrTextureSwapChainDesc
impl Copy for ovrTextureSwapChainDesc
Auto Trait Implementations§
impl Freeze for ovrTextureSwapChainDesc
impl RefUnwindSafe for ovrTextureSwapChainDesc
impl Send for ovrTextureSwapChainDesc
impl Sync for ovrTextureSwapChainDesc
impl Unpin for ovrTextureSwapChainDesc
impl UnwindSafe for ovrTextureSwapChainDesc
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