Epok Engine

PSYQO SDK

psyqo::GPU::chain

Function template · 3 overloads

Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.

Function template

Chains an already constructed DMA chain to the next DMA chain transfer.

Belongs to
psyqo::GPU
Header
gpu.hh
Overloads
3

Declaration 1 of 3

template
Declaration
template <Fragment Frag1, Fragment Frag2> void chain(Frag1 *first, Frag2 *last)

Chains an already constructed DMA chain to the next DMA chain transfer.

ParameterTypeMeaning
firstFrag1 *The pointer to the first fragment of the chain.
lastFrag2 *The pointer to the last fragment of the chain.

Returns: Nothing (void).

Example sketch

C++ example
#include "psyqo/gpu.hh"

// Replace these template arguments with types or values accepted by the declaration:
// Frag1, Frag2

// Assume these named values have been initialized with valid data:
// Frag1 * first
// Frag2 * last

psyqo::GPU& object = /* obtain a valid instance */;

object.chain<Frag1, Frag2>(first, last);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in https://github.com/epokengine/nugget/blob/4a01183295182b8e7702c908e1efaaa8f4538ffd/psyqo/gpu.hh:334

Declaration 2 of 3

template
Declaration
template <Fragment Frag> void chain(Frag &fragment)

Chains a fragment to the next DMA chain transfer.

ParameterTypeMeaning
fragmentFrag &The fragment to chain.

Returns: Nothing (void).

Example sketch

C++ example
#include "psyqo/gpu.hh"

// Replace these template arguments with types or values accepted by the declaration:
// Frag

// Assume these named values have been initialized with valid data:
// Frag & fragment

psyqo::GPU& object = /* obtain a valid instance */;

object.chain<Frag>(fragment);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in https://github.com/epokengine/nugget/blob/4a01183295182b8e7702c908e1efaaa8f4538ffd/psyqo/gpu.hh:320

Declaration 3 of 3

template
Declaration
template <size_t N, Safe safety = Safe::Yes> void chain(OrderingTable<N, safety> &table)

Chains an ordering table to the next DMA chain transfer.

ParameterTypeMeaning
tableOrderingTable<N, safety> &The ordering table to chain.

Returns: Nothing (void).

Example sketch

C++ example
#include "psyqo/gpu.hh"

// Replace these template arguments with types or values accepted by the declaration:
// N, safety

// Assume these named values have been initialized with valid data:
// OrderingTable<N, safety> & table

psyqo::GPU& object = /* obtain a valid instance */;

object.chain<N, safety>(table);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in https://github.com/epokengine/nugget/blob/4a01183295182b8e7702c908e1efaaa8f4538ffd/psyqo/gpu.hh:349

Related members