Struct ovr_sys::ovrHapticsBuffer
[−]
[src]
#[repr(C)]pub struct ovrHapticsBuffer { pub Samples: *const c_void, pub SamplesCount: c_int, pub SubmitMode: ovrHapticsBufferSubmitMode, }
Haptics buffer descriptor, contains amplitude samples used for Touch vibration
Fields
Samples: *const c_void
Samples stored in opaque format
SamplesCount: c_int
Number of samples
SubmitMode: ovrHapticsBufferSubmitMode
How samples are submitted to the hardware
Trait Implementations
impl Debug for ovrHapticsBuffer
[src]
impl Copy for ovrHapticsBuffer
[src]
impl Clone for ovrHapticsBuffer
[src]
fn clone(&self) -> ovrHapticsBuffer
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more