Struct ovr_sys::ovrHapticsBuffer
source · #[repr(C)]pub struct ovrHapticsBuffer {
pub Samples: *const c_void,
pub SamplesCount: c_int,
pub SubmitMode: ovrHapticsBufferSubmitMode,
}
Expand description
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§
source§impl Clone for ovrHapticsBuffer
impl Clone for ovrHapticsBuffer
source§fn clone(&self) -> ovrHapticsBuffer
fn clone(&self) -> ovrHapticsBuffer
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more