Class BufferPool
- Namespace
- Gst
- Assembly
- Gst-1.0.dll
public class BufferPool : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
BufferPool
- Implements
- Derived
- Inherited Members
Constructors
BufferPool(params ConstructArgument[])
[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public BufferPool(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
BufferPool(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected BufferPool(CreationData data)
Parameters
dataCreationData
BufferPool(BufferPoolHandle)
protected BufferPool(BufferPoolHandle handle)
Parameters
handleBufferPoolHandle
Methods
ConfigAddOption(Structure, string)
public static void ConfigAddOption(Structure config, string option)
Parameters
ConfigGetOption(Structure, uint)
public static string? ConfigGetOption(Structure config, uint index)
Parameters
Returns
ConfigHasOption(Structure, string)
public static bool ConfigHasOption(Structure config, string option)
Parameters
Returns
ConfigNOptions(Structure)
public static uint ConfigNOptions(Structure config)
Parameters
configStructure
Returns
ConfigSetAllocator(Structure, Allocator?, AllocationParams?)
public static void ConfigSetAllocator(Structure config, Allocator? allocator, AllocationParams? @params)
Parameters
configStructureallocatorAllocatorparamsAllocationParams
ConfigSetParams(Structure, Caps?, uint, uint, uint)
public static void ConfigSetParams(Structure config, Caps? caps, uint size, uint minBuffers, uint maxBuffers)
Parameters
ConfigValidateParams(Structure, Caps?, uint, uint, uint)
[Version("1.4")]
public static bool ConfigValidateParams(Structure config, Caps? caps, uint size, uint minBuffers, uint maxBuffers)
Parameters
Returns
GetConfig()
public Structure GetConfig()
Returns
GetGType()
public static Type GetGType()
Returns
GetOptions()
public string[] GetOptions()
Returns
- string[]
HasOption(string)
public bool HasOption(string option)
Parameters
optionstring
Returns
IsActive()
public bool IsActive()
Returns
New()
public static BufferPool New()
Returns
NewFromPointer(nint, bool)
Creates a new managed BufferPool instance for a given pointer.
public static BufferPool NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new BufferPool and sets the properties specified by the construct arguments.
public static BufferPool NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
ReleaseBuffer(Buffer)
public void ReleaseBuffer(Buffer buffer)
Parameters
bufferBuffer
SetActive(bool)
public bool SetActive(bool active)
Parameters
activebool
Returns
SetConfig(Structure)
public bool SetConfig(Structure config)
Parameters
configStructure
Returns
SetFlushing(bool)
[Version("1.4")]
public void SetFlushing(bool flushing)
Parameters
flushingbool