Docs.rs
d3d12-22.0.0
d3d12 22.0.0
Permalink
Docs.rs crate page
MIT OR Apache-2.0
Links
Repository
crates.io
Source
Owners
kvark
msiglreith
cwfitzgerald
github:gfx-rs:wgpu
Dependencies
bitflags ^2
normal
libloading >=0.7, <0.9
normal
optional
winapi ^0.3
normal
Versions
23.33%
of the crate is documented
Platform
x86_64-pc-windows-msvc
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
d3d12
22.0.0
SwapChain
Aliased type
Methods
get_buffer
present
present_flags
In crate d3d12
Type Alias
d3d12
::
SwapChain
Copy item path
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