Struct redirect::fence::Fence
[−]
[src]
pub struct Fence { pub ptr: ComPtr<ID3D12Fence>, }
a fence
Fields
ptr: ComPtr<ID3D12Fence>
Methods
impl Fence
[src]
fn get_completed_value(&mut self) -> u64
[src]
get the current value of the fence
fn set_event_on<'a>(
&mut self,
value: u64,
event: &'a Event
) -> Result<(), WinError>
[src]
&mut self,
value: u64,
event: &'a Event
) -> Result<(), WinError>
set the event
if fence value reachs value
fn signal(&mut self, value: u64) -> Result<(), WinError>
[src]
set the fence to the specified value from CPU side
Trait Implementations
impl DeviceChild for Fence
[src]
fn get_device(&mut self) -> Result<Device, WinError>
[src]
get the parent device of self
impl Clone for Fence
[src]
fn clone(&self) -> Fence
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more