Why use it
The method is `const`, so it does not mutate the object through this API surface.
EPOK RUNTIME
Method · 1 overload
Performs `operator []` as part of PSX polygon preparation, clipping and submission.
int32_t operator[](size_t axis) constPerforms `operator []` as part of PSX polygon preparation, clipping and submission.
| Parameter | Type | Meaning |
|---|---|---|
axis | size_t | Value supplied for axis. Keep referenced or pointed-to data valid for the complete call. |
Returns: int32_t. Check the value before continuing when it represents success, availability or a resource handle.
#include "polygon.hpp"
// Assume these named values have been initialized with valid data:
// size_t axis
epok::CompactProjectedVertex::Depth& object = /* obtain a valid instance */;
auto result = object.operator[](axis);The method is `const`, so it does not mutate the object through this API surface.
Call it only in the lifecycle phase described by the module. Validate indices, capacities and object state before use.
Declared in runtime/polygon.hpp:24