Docs.rs
d3d12-0.20.0
d3d12 0.20.0
Permalink
Docs.rs crate page
MIT OR Apache-2.0
Links
Documentation
Repository
Crates.io
Source
Owners
kvark
msiglreith
cwfitzgerald
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
0.20.0
Resource
Aliased type
Methods
gpu_virtual_address
map
unmap
In crate d3d12
?
Settings
Type Alias
d3d12
::
Resource
Copy item path
source
·
[
−
]
pub type Resource =
ComPtr
<
ID3D12Resource
>;
Aliased Type
§
struct Resource(
/* private fields */
);
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