Epok Engine

EPOK RUNTIME

epok::configure_display_field

Function template · 1 overload

Function template

Performs `configure display field` as part of the frame clear module.

Belongs to
epok
Header
frame_clear.hpp
Overloads
1

Declaration

template
Declaration
template<bool Interlaced> inline void configure_display_field(psyqo::PrimPieces::TPageAttr& attr)

Performs `configure display field` as part of the frame clear module.

ParameterTypeMeaning
attrpsyqo::PrimPieces::TPageAttr &Value supplied for attr. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

C++ example
#include "frame_clear.hpp"

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

// Assume these named values have been initialized with valid data:
// psyqo::PrimPieces::TPageAttr & attr

epok::configure_display_field<Interlaced>(attr);

Why use it

Template dispatch is resolved at compile time and normally adds no runtime indirection.

Trade-offs and warnings

Every instantiated type must satisfy the header's compile-time requirements; extra instantiations can increase code size. Pointer/reference arguments are borrowed unless the source contract says otherwise; keep them valid for the complete operation and never assume null is accepted.

Declared in runtime/frame_clear.hpp:9

Related members