Table of Contents

Class Allocator

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

Constructors

Allocator(params ConstructArgument[])

public Allocator(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

Allocator(AllocatorHandle)

public Allocator(AllocatorHandle handle)

Parameters

handle AllocatorHandle

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()