Epok Engine

EPOK RUNTIME

epok::skeletal_sample_vertices

Function · 1 overload

Function

Performs `skeletal sample vertices` as part of the epok module.

Belongs to
epok
Header
epok.hpp
Overloads
1

Declaration

Declaration
VertexSamples4 skeletal_sample_vertices(const ActorData* entity,VertexIndexBatch4 indices,PoseKind pose,CoordinateSpace space)

Performs `skeletal sample vertices` as part of the epok module.

ParameterTypeMeaning
entityconst ActorData *Value supplied for entity. Keep referenced or pointed-to data valid for the complete call.
indicesVertexIndexBatch4Value supplied for indices. Keep referenced or pointed-to data valid for the complete call.
posePoseKindValue supplied for pose. Keep referenced or pointed-to data valid for the complete call.
spaceCoordinateSpaceValue supplied for space. Keep referenced or pointed-to data valid for the complete call.

Returns: VertexSamples4. Check the value before continuing when it represents success, availability or a resource handle.

Example

C++ example
#include "epok.hpp"

// Assume these named values have been initialized with valid data:
// const ActorData * entity
// VertexIndexBatch4 indices
// PoseKind pose
// CoordinateSpace space

auto result = epok::skeletal_sample_vertices(entity, indices, pose, space);

Why use it

It provides direct, allocation-conscious access to the epok module. No exception-based error path is implied by the signature.

Trade-offs and warnings

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/epok.hpp:301

Related members