internal static extern uhsclErrorCode_t uhsclGetMetaDataString( IntPtr sensationCoreInstancePtr, NativeUhsclHandle_t handle, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(StringMarshaler))] string identifier, size_t allocatedLength, [In, Out] byte[] metadataValue );
public uhsclErrorCode_t uhsclGetCurrentlyPlayingInstance( IntPtr sensationCoreInstancePtr, out uhsclHandle currentlyPlayingInstance ) { NativeUhsclHandle_t currentlyPlayingInstanceReturned = 0; uhsclErrorCode_t error = Native.uhsclGetCurrentlyPlayingInstance(sensationCoreInstancePtr, ref currentlyPlayingInstanceReturned); currentlyPlayingInstance = new uhsclHandle(currentlyPlayingInstanceReturned); return(error); }
public uhsclErrorCode_t uhsclGetBlockHandleAtIndex( IntPtr sensationCoreInstancePtr, size_t index, out uhsclHandle handle ) { NativeUhsclHandle_t returnedHandle = 0; uhsclErrorCode_t error = Native.uhsclGetBlockHandleAtIndex(sensationCoreInstancePtr, index, ref returnedHandle); handle = new uhsclHandle(returnedHandle); return(error); }
public uhsclErrorCode_t uhsclCreateInputSource( IntPtr sensationCoreInstancePtr, uhsclHandle blockHandle, out uhsclHandle inputSourceHandle ) { NativeUhsclHandle_t returnedInputSourceHandle = 0; uhsclErrorCode_t error = Native.uhsclCreateInputSource(sensationCoreInstancePtr, blockHandle.Value, ref returnedInputSourceHandle); inputSourceHandle = new uhsclHandle(returnedInputSourceHandle); return(error); }
public uhsclErrorCode_t uhsclCreateBlock( IntPtr sensationCoreInstancePtr, string identifier, out uhsclHandle handle ) { NativeUhsclHandle_t returnedHandle = 0; uhsclErrorCode_t error = Native.uhsclCreateBlock(sensationCoreInstancePtr, identifier, ref returnedHandle); handle = new uhsclHandle(returnedHandle); return(error); }
public uhsclErrorCode_t uhsclGetInputByName( IntPtr sensationCoreInstancePtr, uhsclHandle blockDefinitionHandle, string inputName, out uhsclHandle blockInputHandle ) { NativeUhsclHandle_t returnedInputHandle = 0; uhsclErrorCode_t error = Native.uhsclGetInputByName(sensationCoreInstancePtr, blockDefinitionHandle.Value, inputName, ref returnedInputHandle); blockInputHandle = new uhsclHandle(returnedInputHandle); return(error); }
public uhsclErrorCode_t uhsclStart( IntPtr sensationCoreInstancePtr, uhsclHandle outputHandle, uhsclHandle inputSourceHandle, out uhsclHandle playbackInstanceHandle ) { NativeUhsclHandle_t returnedPlaybackInstanceHandle = 0; uhsclErrorCode_t error = Native.uhsclStart(sensationCoreInstancePtr, outputHandle.Value, inputSourceHandle.Value, ref returnedPlaybackInstanceHandle); playbackInstanceHandle = new uhsclHandle(returnedPlaybackInstanceHandle); return(error); }
public uhsclErrorCode_t uhsclGetOutputAtIndex( IntPtr sensationCoreInstancePtr, uhsclHandle handle, Int32 idx, out uhsclHandle outputHandle ) { NativeUhsclHandle_t returnedOutputHandle = 0; uhsclErrorCode_t error = Native.uhsclGetOutputAtIndex(sensationCoreInstancePtr, handle.Value, idx, ref returnedOutputHandle); outputHandle = new uhsclHandle(returnedOutputHandle); return(error); }
internal static extern uhsclErrorCode_t uhsclGetMetaDataStringLength( IntPtr sensationCoreInstancePtr, NativeUhsclHandle_t handle, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(StringMarshaler))] string identifier, ref size_t count );
internal static extern uhsclErrorCode_t uhsclGetName( IntPtr sensationCoreInstancePtr, NativeUhsclHandle_t handle, size_t allocatedLength, [In, Out] byte[] nameBuffer );
internal static extern uhsclErrorCode_t uhsclGetNameLength( IntPtr sensationCoreInstancePtr, NativeUhsclHandle_t handle, ref size_t count );
internal static extern uhsclErrorCode_t uhsclOutputCount( IntPtr sensationCoreInstancePtr, NativeUhsclHandle_t handle, ref size_t count );
internal static extern uhsclErrorCode_t uhsclGetCurrentlyPlayingInstance( IntPtr sensationCoreInstancePtr, ref NativeUhsclHandle_t currentlyPlayingInstance );
internal static extern uhsclErrorCode_t uhsclGetOutputAtIndex( IntPtr sensationCoreInstancePtr, NativeUhsclHandle_t handle, Int32 idx, ref NativeUhsclHandle_t outputHandle );
internal static extern uhsclErrorCode_t uhsclSetInputToUhsclVector3( IntPtr sensationCoreInstancePtr, NativeUhsclHandle_t inputSourceHandle, NativeUhsclHandle_t inputHandle, uhsclVector3_t inputVector );
internal static extern uhsclErrorCode_t uhsclCreateBlock( IntPtr sensationCoreInstancePtr, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(StringMarshaler))] string identifier, ref NativeUhsclHandle_t handle );
internal static extern uhsclErrorCode_t uhsclGetInputAsUhsclVector3ByIndex( IntPtr sensationCoreInstancePtr, NativeUhsclHandle_t handle, Int32 idx, ref uhsclVector3_t value );
internal static extern uhsclErrorCode_t uhsclGetMetaDataBool( IntPtr sensationCoreInstancePtr, NativeUhsclHandle_t handle, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(StringMarshaler))] string identifier, ref Int32 metadataValue );
internal static extern uhsclErrorCode_t uhsclGetInputByName( IntPtr sensationCoreInstancePtr, NativeUhsclHandle_t blockDefinitionHandle, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(StringMarshaler))] string inputName, ref NativeUhsclHandle_t blockInputHandle );
internal static extern uhsclErrorCode_t uhsclCreateInputSource( IntPtr sensationCoreInstancePtr, NativeUhsclHandle_t blockHandle, ref NativeUhsclHandle_t inputSourceHandle );
internal static extern uhsclErrorCode_t uhsclGetBlockHandleAtIndex( IntPtr sensationCoreInstancePtr, size_t index, ref NativeUhsclHandle_t handle );
internal static extern uhsclErrorCode_t uhsclStart( IntPtr sensationCoreInstancePtr, NativeUhsclHandle_t outputHandle, NativeUhsclHandle_t inputSourceHandle, ref NativeUhsclHandle_t playbackInstanceHandle );
internal static extern uhsclErrorCode_t uhsclUnmute( IntPtr sensationCoreInstancePtr, NativeUhsclHandle_t playbackInstanceHandle );