Type Alias d3d12::SwapChain

source ·
pub type SwapChain = ComPtr<IDXGISwapChain>;

Aliased Type§

struct SwapChain(/* private fields */);

Implementations§

source§

impl SwapChain

source

pub fn get_buffer(&self, id: u32) -> D3DResult<Resource>

source

pub fn present(&self, interval: u32, flags: u32) -> HRESULT

source

pub fn present_flags( &self, interval: u32, flags: SwapChainPresentFlags ) -> HRESULT