Skip to content

Latest commit

 

History

History
183 lines (178 loc) · 10.2 KB

File metadata and controls

183 lines (178 loc) · 10.2 KB

Here is an overview of the functions provided by the OBS API for use in plugins.

General:

  • [[OBSEnterSceneMutex|Plugin-Functions-\-OBSEnterSceneMutex]]
  • [[OBSLeaveSceneMutex|Plugin-Functions-\-OBSLeaveSceneMutex]]
  • [[OBSRegisterSceneClass|Plugin-Functions-\-OBSRegisterSceneClass]]
  • [[OBSRegisterImageSourceClass|Plugin-Functions-\-OBSRegisterImageSourceClass]]
  • [[OBSCreateImageSource|Plugin-Functions-\-OBSCreateImageSource]]
  • [[OBSGetSceneListElement|Plugin-Functions-\-OBSGetSceneListElement]]
  • [[OBSGetGlobalSourceListElement|Plugin-Functions-\-OBSGetGlobalSourceListElement]]
  • [[OBSSetScene|Plugin-Functions-\-OBSSetScene]]
  • [[OBSGetScene|Plugin-Functions-\-OBSGetScene]]
  • [[OBSGetSceneName|Plugin-Functions-\-OBSGetSceneName]]
  • [[OBSGetSceneElement|Plugin-Functions-\-OBSGetSceneElement]]
  • [[OBSSetSceneCollection|Plugin-Functions-\-OBSSetSceneCollection]]
  • [[OBSGetSceneCollectionName|Plugin-Functions-\-OBSGetSceneCollectionName]]
  • [[OBSGetSceneCollectionNames|Plugin-Functions-\-OBSGetSceneCollectionNames]]
  • [[OBSCreateHotkey|Plugin-Functions-\-OBSCreateHotkey]]
  • [[OBSDeleteHotkey|Plugin-Functions-\-OBSDeleteHotkey]]
  • [[OBSGetBaseSize|Plugin-Functions-\-OBSGetBaseSize]]
  • [[OBSGetRenderFrameSize|Plugin-Functions-\-OBSGetRenderFrameSize]]
  • [[OBSGetOutputSize|Plugin-Functions-\-OBSGetOutputSize]]
  • [[OBSGetBaseSize|Plugin-Functions-\-OBSGetBaseSize]]
  • [[OBSGetRenderFrameSize|Plugin-Functions-\-OBSGetRenderFrameSize]]
  • [[OBSGetRenderFrameOffset|Plugin-Functions-\-OBSGetRenderFrameOffset]]
  • [[OBSGetRenderFrameControlSize|Plugin-Functions-\-OBSGetRenderFrameControlSize]]
  • [[OBSGetOutputSize|Plugin-Functions-\-OBSGetOutputSize]]
  • [[OBSGetMaxFPS|Plugin-Functions-\-OBSGetMaxFPS]]
  • [[OBSGetIn1To1Mode|Plugin-Functions-\-OBSGetIn1To1Mode]]
  • [[OBSGetCaptureFPS|Plugin-Functions-\-OBSGetCaptureFPS]]
  • [[OBSGetTotalFrames|Plugin-Functions-\-OBSGetTotalFrames]]
  • [[OBSGetFramesDropped|Plugin-Functions-\-OBSGetFramesDropped]]
  • [[OBSGetLanguage|Plugin-Functions-\-OBSGetLanguage]]
  • [[OBSGetMainWindow|Plugin-Functions-\-OBSGetMainWindow]]
  • [[OBSGetAppDataPath|Plugin-Functions-\-OBSGetAppDataPath]]
  • [[OBSGetPluginDataPath|Plugin-Functions-\-OBSGetPluginDataPath]]
  • [[OBSAddStreamInfo|Plugin-Functions-\-OBSAddStreamInfo]]
  • [[OBSSetStreamInfo|Plugin-Functions-\-OBSSetStreamInfo]]
  • [[OBSSetStreamInfoPriority|Plugin-Functions-\-OBSSetStreamInfoPriority]]
  • [[OBSRemoveStreamInfo|Plugin-Functions-\-OBSRemoveStreamInfo]]
  • [[OBSGetTotalStreamTime|Plugin-Functions-\-OBSGetTotalStreamTime]]
  • [[OBSGetBytesPerSec|Plugin-Functions-\-OBSGetBytesPerSec]]
  • [[OBSUseMultithreadedOptimizations|Plugin-Functions-\-OBSUseMultithreadedOptimizations]]
  • [[OBSAddAudioSource|Plugin-Functions-\-OBSAddAudioSource]]
  • [[OBSRemoveAudioSource|Plugin-Functions-\-OBSRemoveAudioSource]]
  • [[OBSGetAudioTime|Plugin-Functions-\-OBSGetAudioTime]]
  • [[OBSGetAppPath|Plugin-Functions-\-OBSGetAppPath]]
  • [[OBSStartStopStream|Plugin-Functions-\-OBSStartStopStream]]
  • [[OBSStartStopPreview|Plugin-Functions-\-OBSStartStopPreview]]
  • [[OBSStartStopRecording|Plugin-Functions-\-OBSStartStopRecording]]
  • [[OBSGetStreaming|Plugin-Functions-\-OBSGetStreaming]]
  • [[OBSGetPreviewOnly|Plugin-Functions-\-OBSGetPreviewOnly]]
  • [[OBSGetRecording|Plugin-Functions-\-OBSGetRecording]]
  • [[OBSGetKeepRecording|Plugin-Functions-\-OBSGetKeepRecording]]
  • [[OBSStartStopRecordingReplayBuffer|Plugin-Functions-\-OBSStartStopRecordingReplayBuffer]]
  • [[OBSGetRecordingReplayBuffer|Plugin-Functions-\-OBSGetRecordingReplayBuffer]]
  • [[OBSSaveReplayBuffer|Plugin-Functions-\-OBSSaveReplayBuffer]]
  • [[OBSSetSourceOrder|Plugin-Functions-\-OBSSetSourceOrder]]
  • [[OBSSetSourceRender|Plugin-Functions-\-OBSSetSourceRender]]
  • [[OBSGetSceneImageSource|Plugin-Functions-\-OBSGetSceneImageSource]]
  • [[OBSSetMicVolume|Plugin-Functions-\-OBSSetMicVolume]]
  • [[OBSGetMicVolume|Plugin-Functions-\-OBSGetMicVolume]]
  • [[OBSToggleMicMute|Plugin-Functions-\-OBSToggleMicMute]]
  • [[OBSGetMicMuted|Plugin-Functions-\-OBSGetMicMuted]]
  • [[OBSSetDesktopVolume|Plugin-Functions-\-OBSSetDesktopVolume]]
  • [[OBSGetDesktopVolume|Plugin-Functions-\-OBSGetDesktopVolume]]
  • [[OBSToggleDesktopMute|Plugin-Functions-\-OBSToggleDesktopMute]]
  • [[OBSGetDesktopMuted|Plugin-Functions-\-OBSGetDesktopMuted]]
  • [[OBSGetVersion|Plugin-Functions-\-OBSGetVersion]]
  • [[OBSIsTestVersion|Plugin-Functions-\-OBSIsTestVersion]]
  • [[OBSNumAuxAudioSources|Plugin-Functions-\-OBSNumAuxAudioSources]]
  • [[OBSGetAuxAudioSource|Plugin-Functions-\-OBSGetAuxAudioSource]]
  • [[OBSGetDesktopAudioSource|Plugin-Functions-\-OBSGetDesktopAudioSource]]
  • [[OBSGetMicAudioSource|Plugin-Functions-\-OBSGetMicAudioSource]]
  • [[OBSGetCurDesktopVolumeStats|Plugin-Functions-\-OBSGetCurDesktopVolumeStats]]
  • [[OBSGetCurMicVolumeStats|Plugin-Functions-\-OBSGetCurMicVolumeStats]]
  • [[OBSAddSettingsPane|Plugin-Functions-\-OBSAddSettingsPane]]
  • [[OBSRemoveSettingsPane|Plugin-Functions-\-OBSRemoveSettingsPane]]
  • [[OBSGetAPIVersion|Plugin-Functions-\-OBSGetAPIVersion]]
  • [[OBSGetSampleRateHz|Plugin-Functions-\-OBSGetSampleRateHz]]
  • [[LocalizeWindow|Plugin-Functions-\-LocalizeWindow]]
  • [[LocalizeMenu|Plugin-Functions-\-LocalizeMenu]]
  • [[OBSMessageBox|Plugin-Functions-\-OBSMessageBox]]
  • [[OBSDialogBox|Plugin-Functions-\-OBSDialogBox]]
  • [[OBSCreateDialog|Plugin-Functions-\-OBSCreateDialog]]
  • [[GetLBText|Plugin-Functions-\-GetLBText]]
  • [[GetLVText|Plugin-Functions-\-GetLVText]]
  • [[GetCBText|Plugin-Functions-\-GetCBText]]
  • [[GetEditText|Plugin-Functions-\-GetEditText]]
  • [[GetCursorData|Plugin-Functions-\-GetCursorData]]
  • [[fastHtonll|Plugin-Functions-\-fastHtonll]]
  • [[fastHtonl |Plugin-Functions-\-fastHtonl]]
  • [[fastHtons |Plugin-Functions-\-fastHtons]]
  • [[CloseDouble|Plugin-Functions-\-CloseDouble]]
  • [[GetQWDif|Plugin-Functions-\-GetQWDif]]
  • [[GetQPCTimeNS|Plugin-Functions-\-GetQPCTimeNS]]
  • [[GetQPCTime100NS|Plugin-Functions-\-GetQPCTime100NS]]
  • [[GetQPCTimeMS|Plugin-Functions-\-GetQPCTimeMS]]
  • [[MixAudio|Plugin-Functions-\-MixAudio]]

Color Control:

  • [[InitColorControl|Plugin-Functions-\-InitColorControl]]
  • [[CCSetCustomColors|Plugin-Functions-\-CCSetCustomColors]]
  • [[CCGetCustomColors|Plugin-Functions-\-CCGetCustomColors]]
  • [[CCGetColor|Plugin-Functions-\-CCGetColor]]
  • [[CCSetColor|Plugin-Functions-\-CCSetColor]]
  • [[CCSetColor|Plugin-Functions-\-CCSetColor]]

Graphics System:

  • [[MatrixPush|Plugin-Functions-\-MatrixPush]]
  • [[MatrixPop|Plugin-Functions-\-MatrixPop]]
  • [[MatrixSet|Plugin-Functions-\-MatrixSet]]
  • [[MatrixGet|Plugin-Functions-\-MatrixGet]]
  • [[MatrixMultiply|Plugin-Functions-\-MatrixMultiply]]
  • [[MatrixRotate|Plugin-Functions-\-MatrixRotate]]
  • [[MatrixRotate|Plugin-Functions-\-MatrixRotate]]
  • [[MatrixRotate|Plugin-Functions-\-MatrixRotate]]
  • [[MatrixTranslate|Plugin-Functions-\-MatrixTranslate]]
  • [[MatrixTranslate|Plugin-Functions-\-MatrixTranslate]]
  • [[MatrixScale|Plugin-Functions-\-MatrixScale]]
  • [[MatrixScale|Plugin-Functions-\-MatrixScale]]
  • [[MatrixTranspose|Plugin-Functions-\-MatrixTranspose]]
  • [[MatrixIdentity|Plugin-Functions-\-MatrixIdentity]]
  • [[CreateTexture|Plugin-Functions-\-CreateTexture]]
  • [[CreateTextureFromFile|Plugin-Functions-\-CreateTextureFromFile]]
  • [[CreateRenderTarget|Plugin-Functions-\-CreateRenderTarget]]
  • [[CreateGDITexture|Plugin-Functions-\-CreateGDITexture]]
  • [[CreateFromSharedHandle|Plugin-Functions-\-CreateFromSharedHandle]]
  • [[CreateSharedTexture|Plugin-Functions-\-CreateSharedTexture]]
  • [[CreateSamplerState|Plugin-Functions-\-CreateSamplerState]]
  • [[CreateVertexShaderFromBlob|Plugin-Functions-\-CreateVertexShaderFromBlob]]
  • [[CreatePixelShaderFromBlob|Plugin-Functions-\-CreatePixelShaderFromBlob]]
  • [[CreateVertexShader|Plugin-Functions-\-CreateVertexShader]]
  • [[CreatePixelShader|Plugin-Functions-\-CreatePixelShader]]
  • [[CreateVertexShaderFromFile|Plugin-Functions-\-CreateVertexShaderFromFile]]
  • [[CreatePixelShaderFromFile|Plugin-Functions-\-CreatePixelShaderFromFile]]
  • [[CreatePixelShaderFromFileAsync|Plugin-Functions-\-CreatePixelShaderFromFileAsync]]
  • [[CreateVertexBuffer|Plugin-Functions-\-CreateVertexBuffer]]
  • [[LoadVertexBuffer|Plugin-Functions-\-LoadVertexBuffer]]
  • [[LoadTexture|Plugin-Functions-\-LoadTexture]]
  • [[LoadSamplerState|Plugin-Functions-\-LoadSamplerState]]
  • [[LoadVertexShader|Plugin-Functions-\-LoadVertexShader]]
  • [[LoadPixelShader|Plugin-Functions-\-LoadPixelShader]]
  • [[GetCurrentPixelShader|Plugin-Functions-\-GetCurrentPixelShader]]
  • [[GetCurrentVertexShader|Plugin-Functions-\-GetCurrentVertexShader]]
  • [[SetRenderTarget|Plugin-Functions-\-SetRenderTarget]]
  • [[Draw|Plugin-Functions-\-Draw]]
  • [[EnableBlending|Plugin-Functions-\-EnableBlending]]
  • [[BlendFunction|Plugin-Functions-\-BlendFunction]]
  • [[ClearColorBuffer|Plugin-Functions-\-ClearColorBuffer]]
  • [[StartVertexBuffer|Plugin-Functions-\-StartVertexBuffer]]
  • [[SaveVertexBuffer|Plugin-Functions-\-SaveVertexBuffer]]
  • [[Vertex|Plugin-Functions-\-Vertex]]
  • [[Vertex|Plugin-Functions-\-Vertex]]
  • [[Vertex|Plugin-Functions-\-Vertex]]
  • [[Normal|Plugin-Functions-\-Normal]]
  • [[Normal|Plugin-Functions-\-Normal]]
  • [[Color|Plugin-Functions-\-Color]]
  • [[Color|Plugin-Functions-\-Color]]
  • [[Color|Plugin-Functions-\-Color]]
  • [[TexCoord|Plugin-Functions-\-TexCoord]]
  • [[TexCoord|Plugin-Functions-\-TexCoord]]
  • [[Ortho|Plugin-Functions-\-Ortho]]
  • [[Frustum|Plugin-Functions-\-Frustum]]
  • [[SetViewport|Plugin-Functions-\-SetViewport]]
  • [[SetScissorRect|Plugin-Functions-\-SetScissorRect]]
  • [[DrawSprite|Plugin-Functions-\-DrawSprite]]
  • [[DrawSprite|Plugin-Functions-\-DrawSprite]]
  • [[DrawSpriteEx|Plugin-Functions-\-DrawSpriteEx]]
  • [[DrawBox|Plugin-Functions-\-DrawBox]]

Volume Control:

  • [[InitVolumeControl|Plugin-Functions-\-InitVolumeControl]]
  • [[SetVolumeControlIcons|Plugin-Functions-\-SetVolumeControlIcons]]
  • [[ToggleVolumeControlMute|Plugin-Functions-\-ToggleVolumeControlMute]]
  • [[SetVolumeControlValue|Plugin-Functions-\-SetVolumeControlValue]]
  • [[GetVolumeControlValue|Plugin-Functions-\-GetVolumeControlValue]]
  • [[SetVolumeControlMutedVal|Plugin-Functions-\-SetVolumeControlMutedVal]]
  • [[GetVolumeControlMutedVal|Plugin-Functions-\-GetVolumeControlMutedVal]]

Volume Meter:

  • [[InitVolumeMeter|Plugin-Functions-\-InitVolumeMeter]]
  • [[SetVolumeMeterValue|Plugin-Functions-\-SetVolumeMeterValue]]