Table of Contents

Class Allocator

Namespace
Gst
Assembly
Gst-1.0.dll
public class Allocator : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
Inheritance
Allocator
Implements
Inherited Members

Constructors

Allocator()

public Allocator()

Allocator(params ConstructArgument[])

protected Allocator(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

Allocator(IntPtr, bool)

protected Allocator(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Methods

Alloc(nuint, AllocationParams?)

public Memory? Alloc(nuint size, AllocationParams? @params)

Parameters

size nuint
params AllocationParams

Returns

Memory

Find(string?)

public static Allocator? Find(string? name)

Parameters

name string

Returns

Allocator

GetGType()

public static Type GetGType()

Returns

Type

Register(string, Allocator)

public static void Register(string name, Allocator allocator)

Parameters

name string
allocator Allocator

SetDefault()

public void SetDefault()