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

Only supported with ovrTexture_2D. Not supported on PC at this time.

Current only supported on depth textures

Not buffered in a chain. For images that don't change

ovrTextureFlags

ovrTextureBindFlags. Not used for GL.

Trait Implementations

impl Debug for ovrTextureSwapChainDesc
[src]

Formats the value using the given formatter.

impl Copy for ovrTextureSwapChainDesc
[src]

impl Clone for ovrTextureSwapChainDesc
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more