Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
Function template · 1 overload
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.
Draws draw as part of static and blob shadow rendering.
template<size_t N,typename Table> __attribute__((noinline,optimize("O3"))) void draw(int parity,Table& table,const std::array<ActorData,N>& objects,const std::array<Affine<Fixed>,N>& world,size_t count,const CameraSpace<Fixed>& view)Draws draw as part of static and blob shadow rendering.
| Parameter | Type | Meaning |
|---|---|---|
parity | int | Not documented; consult the linked header. |
table | Table & | Not documented; consult the linked header. |
objects | const std::array<ActorData, N> & | Not documented; consult the linked header. |
world | const std::array<Affine<Fixed>, N> & | Not documented; consult the linked header. |
count | size_t | Not documented; consult the linked header. |
view | const CameraSpace<Fixed> & | Not documented; consult the linked header. |
Returns: Nothing (void).
#include "shadows.hpp"
// Replace these template arguments with types or values accepted by the declaration:
// N, Table
// Assume these named values have been initialized with valid data:
// int parity
// Table & table
// const std::array<ActorData, N> & objects
// const std::array<Affine<Fixed>, N> & world
// size_t count
// const CameraSpace<Fixed> & view
epok::BlobRenderer& object = /* obtain a valid instance */;
object.draw<N, Table>(parity, table, objects, world, count, view);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/shadows.hpp:16