Docs.rs
d3d12-0.5.0
d3d12 0.5.0
Docs.rs crate page
MIT OR Apache-2.0
Links
Documentation
Repository
Crates.io
Source
Owners
kvark
msiglreith
cwfitzgerald
Dependencies
bitflags ^1
normal
libloading ^0.7
normal
winapi ^0.3
normal
Versions
4.25%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
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
☰
Resource
Methods
gpu_virtual_address
map
unmap
In d3d12
?
Type Definition
d3d12
::
Resource
source
·
[
−
]
pub type Resource =
WeakPtr
<
ID3D12Resource
>;
Implementations
source
impl
Resource
source
pub fn
map
(
&self,
subresource:
Subresource
,
read_range:
Option
<
Range
<
usize
>>
) ->
D3DResult
<
*mut
()
>
source
pub fn
unmap
(&self, subresource:
Subresource
, write_range:
Option
<
Range
<
usize
>>)
source
pub fn
gpu_virtual_address
(&self) ->
u64