FramePool.allocate

Allocates memory from the pool for the given amount of elements.

struct FramePool
@nogc @trusted nothrow
allocate
(
T
)
(
size_t count
)

Parameters

count size_t

How many elements to allocate from the pool.

Return Value

Type: PoolToken!T

A slice of the allocated memory.

Meta