Struct ovr_sys::ovrTextureSwapChainDesc
source · #[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_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§
source§impl Clone for ovrTextureSwapChainDesc
impl Clone for ovrTextureSwapChainDesc
source§fn clone(&self) -> ovrTextureSwapChainDesc
fn clone(&self) -> ovrTextureSwapChainDesc
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 more