Struct ovr_sys::ovrTextureSwapChainDesc
[−]
[src]
#[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, }
Description used to create a texture swap chain.
see ovr_CreateTextureSwapChainDX, ovr_CreateTextureSwapChainGL, ovr_CreateTextureSwapChainVk
Fields
Type: ovrTextureType
Format: ovrTextureFormat
ArraySize: c_int
Only supported with ovrTexture_2D. Not supported on PC at this time.
Width: c_int
Height: c_int
MipLevels: c_int
SampleCount: c_int
Current only supported on depth textures
StaticImage: ovrBool
Not buffered in a chain. For images that don't change
MiscFlags: c_uint
ovrTextureFlags
BindFlags: c_uint
ovrTextureBindFlags. Not used for GL.
Trait Implementations
impl Debug for ovrTextureSwapChainDesc[src]
impl Copy for ovrTextureSwapChainDesc[src]
impl Clone for ovrTextureSwapChainDesc[src]
fn clone(&self) -> ovrTextureSwapChainDesc
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more