-
Notifications
You must be signed in to change notification settings - Fork 856
Plugin Functions
Aslai edited this page Nov 21, 2014
·
1 revision
Here is an overview of the functions provided by the OBS API for use in plugins.
General:
- OBSEnterSceneMutex
- OBSLeaveSceneMutex
- OBSRegisterSceneClass
- OBSRegisterImageSourceClass
- OBSCreateImageSource
- OBSGetSceneListElement
- OBSGetGlobalSourceListElement
- OBSSetScene
- OBSGetScene
- OBSGetSceneName
- OBSGetSceneElement
- OBSSetSceneCollection
- OBSGetSceneCollectionName
- OBSGetSceneCollectionNames
- OBSCreateHotkey
- OBSDeleteHotkey
- OBSGetBaseSize
- OBSGetRenderFrameSize
- OBSGetOutputSize
- OBSGetBaseSize
- OBSGetRenderFrameSize
- OBSGetRenderFrameOffset
- OBSGetRenderFrameControlSize
- OBSGetOutputSize
- OBSGetMaxFPS
- OBSGetIn1To1Mode
- OBSGetCaptureFPS
- OBSGetTotalFrames
- OBSGetFramesDropped
- OBSGetLanguage
- OBSGetMainWindow
- OBSGetAppDataPath
- OBSGetPluginDataPath
- OBSAddStreamInfo
- OBSSetStreamInfo
- OBSSetStreamInfoPriority
- OBSRemoveStreamInfo
- OBSGetTotalStreamTime
- OBSGetBytesPerSec
- OBSUseMultithreadedOptimizations
- OBSAddAudioSource
- OBSRemoveAudioSource
- OBSGetAudioTime
- OBSGetAppPath
- OBSStartStopStream
- OBSStartStopPreview
- OBSStartStopRecording
- OBSGetStreaming
- OBSGetPreviewOnly
- OBSGetRecording
- OBSGetKeepRecording
- OBSStartStopRecordingReplayBuffer
- OBSGetRecordingReplayBuffer
- OBSSaveReplayBuffer
- OBSSetSourceOrder
- OBSSetSourceRender
- OBSGetSceneImageSource
- OBSSetMicVolume
- OBSGetMicVolume
- OBSToggleMicMute
- OBSGetMicMuted
- OBSSetDesktopVolume
- OBSGetDesktopVolume
- OBSToggleDesktopMute
- OBSGetDesktopMuted
- OBSGetVersion
- OBSIsTestVersion
- OBSNumAuxAudioSources
- OBSGetAuxAudioSource
- OBSGetDesktopAudioSource
- OBSGetMicAudioSource
- OBSGetCurDesktopVolumeStats
- OBSGetCurMicVolumeStats
- OBSAddSettingsPane
- OBSRemoveSettingsPane
- OBSGetAPIVersion
- OBSGetSampleRateHz
- LocalizeWindow
- LocalizeMenu
- OBSMessageBox
- OBSDialogBox
- OBSCreateDialog
- GetLBText
- GetLVText
- GetCBText
- GetEditText
- GetCursorData
- fastHtonll
- fastHtonl
- fastHtons
- CloseDouble
- GetQWDif
- GetQPCTimeNS
- GetQPCTime100NS
- GetQPCTimeMS
- MixAudio
Color Control:
Graphics System:
- MatrixPush
- MatrixPop
- MatrixSet
- MatrixGet
- MatrixMultiply
- MatrixRotate
- MatrixRotate
- MatrixRotate
- MatrixTranslate
- MatrixTranslate
- MatrixScale
- MatrixScale
- MatrixTranspose
- MatrixIdentity
- CreateTexture
- CreateTextureFromFile
- CreateRenderTarget
- CreateGDITexture
- CreateFromSharedHandle
- CreateSharedTexture
- CreateSamplerState
- CreateVertexShaderFromBlob
- CreatePixelShaderFromBlob
- CreateVertexShader
- CreatePixelShader
- CreateVertexShaderFromFile
- CreatePixelShaderFromFile
- CreatePixelShaderFromFileAsync
- CreateVertexBuffer
- LoadVertexBuffer
- LoadTexture
- LoadSamplerState
- LoadVertexShader
- LoadPixelShader
- GetCurrentPixelShader
- GetCurrentVertexShader
- SetRenderTarget
- Draw
- EnableBlending
- BlendFunction
- ClearColorBuffer
- StartVertexBuffer
- SaveVertexBuffer
- Vertex
- Vertex
- Vertex
- Normal
- Normal
- Color
- Color
- Color
- TexCoord
- TexCoord
- Ortho
- Frustum
- SetViewport
- SetScissorRect
- DrawSprite
- DrawSprite
- DrawSpriteEx
- DrawBox
Volume Control:
- InitVolumeControl
- SetVolumeControlIcons
- ToggleVolumeControlMute
- SetVolumeControlValue
- GetVolumeControlValue
- SetVolumeControlMutedVal
- GetVolumeControlMutedVal
Volume Meter: