PSYQo
Classes
psyqo::Fragments Namespace Reference

The fragments helpers. More...

Classes

struct  FixedFragment
 A maximum fixed sized fragment of similar primitives. More...
 

Detailed Description

The fragments helpers.

This namespace provides helper templates to create fragments. A fragment is any structure which validates the following constraints:

The structure may have any other field for its own usage.

Fragments are used by the GPU class to send a list of commands to the GPU. This can be done either using the sendFragment call to only send a single fragment, or by using the chain call to queue the fragments in a chain to be sent later.