[−][src]Struct openvr_sys::VR_IVRTrackedCamera_FnTable
Fields
GetCameraErrorNameFromEnum: Option<unsafe extern "C" fn(eCameraError: EVRTrackedCameraError) -> *mut c_char>
HasCamera: Option<unsafe extern "C" fn(nDeviceIndex: TrackedDeviceIndex_t, pHasCamera: *mut bool) -> EVRTrackedCameraError>
GetCameraFrameSize: Option<unsafe extern "C" fn(nDeviceIndex: TrackedDeviceIndex_t, eFrameType: EVRTrackedCameraFrameType, pnWidth: *mut u32, pnHeight: *mut u32, pnFrameBufferSize: *mut u32) -> EVRTrackedCameraError>
GetCameraIntrinsics: Option<unsafe extern "C" fn(nDeviceIndex: TrackedDeviceIndex_t, nCameraIndex: u32, eFrameType: EVRTrackedCameraFrameType, pFocalLength: *mut HmdVector2_t, pCenter: *mut HmdVector2_t) -> EVRTrackedCameraError>
GetCameraProjection: Option<unsafe extern "C" fn(nDeviceIndex: TrackedDeviceIndex_t, nCameraIndex: u32, eFrameType: EVRTrackedCameraFrameType, flZNear: f32, flZFar: f32, pProjection: *mut HmdMatrix44_t) -> EVRTrackedCameraError>
AcquireVideoStreamingService: Option<unsafe extern "C" fn(nDeviceIndex: TrackedDeviceIndex_t, pHandle: *mut TrackedCameraHandle_t) -> EVRTrackedCameraError>
ReleaseVideoStreamingService: Option<unsafe extern "C" fn(hTrackedCamera: TrackedCameraHandle_t) -> EVRTrackedCameraError>
GetVideoStreamFrameBuffer: Option<unsafe extern "C" fn(hTrackedCamera: TrackedCameraHandle_t, eFrameType: EVRTrackedCameraFrameType, pFrameBuffer: *mut c_void, nFrameBufferSize: u32, pFrameHeader: *mut CameraVideoStreamFrameHeader_t, nFrameHeaderSize: u32) -> EVRTrackedCameraError>
GetVideoStreamTextureSize: Option<unsafe extern "C" fn(nDeviceIndex: TrackedDeviceIndex_t, eFrameType: EVRTrackedCameraFrameType, pTextureBounds: *mut VRTextureBounds_t, pnWidth: *mut u32, pnHeight: *mut u32) -> EVRTrackedCameraError>
GetVideoStreamTextureD3D11: Option<unsafe extern "C" fn(hTrackedCamera: TrackedCameraHandle_t, eFrameType: EVRTrackedCameraFrameType, pD3D11DeviceOrResource: *mut c_void, ppD3D11ShaderResourceView: *mut *mut c_void, pFrameHeader: *mut CameraVideoStreamFrameHeader_t, nFrameHeaderSize: u32) -> EVRTrackedCameraError>
GetVideoStreamTextureGL: Option<unsafe extern "C" fn(hTrackedCamera: TrackedCameraHandle_t, eFrameType: EVRTrackedCameraFrameType, pglTextureId: *mut glUInt_t, pFrameHeader: *mut CameraVideoStreamFrameHeader_t, nFrameHeaderSize: u32) -> EVRTrackedCameraError>
ReleaseVideoStreamTextureGL: Option<unsafe extern "C" fn(hTrackedCamera: TrackedCameraHandle_t, glTextureId: glUInt_t) -> EVRTrackedCameraError>
Trait Implementations
impl Clone for VR_IVRTrackedCamera_FnTable
[src]
fn clone(&self) -> VR_IVRTrackedCamera_FnTable
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for VR_IVRTrackedCamera_FnTable
[src]
impl Debug for VR_IVRTrackedCamera_FnTable
[src]
Auto Trait Implementations
impl RefUnwindSafe for VR_IVRTrackedCamera_FnTable
impl Send for VR_IVRTrackedCamera_FnTable
impl Sync for VR_IVRTrackedCamera_FnTable
impl Unpin for VR_IVRTrackedCamera_FnTable
impl UnwindSafe for VR_IVRTrackedCamera_FnTable
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,