Struct ovr_sys::ovrTouchHapticsDesc
[−]
[src]
#[repr(C)]pub struct ovrTouchHapticsDesc { pub _align: [isize; 0], pub SampleRateHz: c_int, pub SampleSizeInBytes: c_int, pub QueueMinSizeToAvoidStarvation: c_int, pub SubmitMinSamples: c_int, pub SubmitMaxSamples: c_int, pub SubmitOptimalSamples: c_int, }
Describes the Touch Haptics engine. Currently, those values will NOT change during a session.
Fields
_align: [isize; 0]
SampleRateHz: c_int
Haptics engine frequency/sample-rate, sample time in seconds equals 1.0/sampleRateHz
SampleSizeInBytes: c_int
Size of each Haptics sample, sample value range is [0, 2^(Bytes*8)-1]
QueueMinSizeToAvoidStarvation: c_int
Queue size that would guarantee Haptics engine would not starve for data Make sure size doesn't drop below it for best results
SubmitMinSamples: c_int
Minimum, Maximum and Optimal number of samples that can be sent to Haptics through ovr_SubmitControllerVibration
SubmitMaxSamples: c_int
SubmitOptimalSamples: c_int
Trait Implementations
impl Debug for ovrTouchHapticsDesc
[src]
impl Copy for ovrTouchHapticsDesc
[src]
impl Clone for ovrTouchHapticsDesc
[src]
fn clone(&self) -> ovrTouchHapticsDesc
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