Struct windows_sys::Win32::Graphics::Direct3D9::D3DPRESENT_PARAMETERS[−]

#[repr(C)]
pub struct D3DPRESENT_PARAMETERS {
Show 14 fields pub BackBufferWidth: u32, pub BackBufferHeight: u32, pub BackBufferFormat: D3DFORMAT, pub BackBufferCount: u32, pub MultiSampleType: D3DMULTISAMPLE_TYPE, pub MultiSampleQuality: u32, pub SwapEffect: D3DSWAPEFFECT, pub hDeviceWindow: HWND, pub Windowed: BOOL, pub EnableAutoDepthStencil: BOOL, pub AutoDepthStencilFormat: D3DFORMAT, pub Flags: u32, pub FullScreen_RefreshRateInHz: u32, pub PresentationInterval: u32,
}
Expand description

Required features: ‘Win32_Graphics_Direct3D9’, ‘Win32_Foundation’

Fields

BackBufferWidth: u32BackBufferHeight: u32BackBufferFormat: D3DFORMATBackBufferCount: u32MultiSampleType: D3DMULTISAMPLE_TYPEMultiSampleQuality: u32SwapEffect: D3DSWAPEFFECThDeviceWindow: HWNDWindowed: BOOLEnableAutoDepthStencil: BOOLAutoDepthStencilFormat: D3DFORMATFlags: u32FullScreen_RefreshRateInHz: u32PresentationInterval: u32

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.