Trait windows::Win32::Graphics::Dxgi::IDXGISwapChain3_Impl

pub trait IDXGISwapChain3_Impl: Sized + IDXGISwapChain2_Impl {
    // Required methods
    fn GetCurrentBackBufferIndex(&self) -> u32;
    fn CheckColorSpaceSupport(
        &self,
        colorspace: DXGI_COLOR_SPACE_TYPE,
    ) -> Result<u32>;
    fn SetColorSpace1(&self, colorspace: DXGI_COLOR_SPACE_TYPE) -> Result<()>;
    fn ResizeBuffers1(
        &self,
        buffercount: u32,
        width: u32,
        height: u32,
        format: DXGI_FORMAT,
        swapchainflags: &DXGI_SWAP_CHAIN_FLAG,
        pcreationnodemask: *const u32,
        pppresentqueue: *const Option<IUnknown>,
    ) -> Result<()>;
}

Required Methods§

fn GetCurrentBackBufferIndex(&self) -> u32

fn CheckColorSpaceSupport( &self, colorspace: DXGI_COLOR_SPACE_TYPE, ) -> Result<u32>

fn SetColorSpace1(&self, colorspace: DXGI_COLOR_SPACE_TYPE) -> Result<()>

fn ResizeBuffers1( &self, buffercount: u32, width: u32, height: u32, format: DXGI_FORMAT, swapchainflags: &DXGI_SWAP_CHAIN_FLAG, pcreationnodemask: *const u32, pppresentqueue: *const Option<IUnknown>, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§