Foundation
Loading...
Searching...
No Matches
Public Attributes | List of all members
FSkinBinding Struct Reference

Per-vertex skin binding for CPU skinning (parallel to a mesh's vertices). More...

#include <Mesh.hpp>

Public Attributes

uint16_t joints [4] {0, 0, 0, 0}
 
float weights [4] {1, 0, 0, 0}
 

Detailed Description

Per-vertex skin binding for CPU skinning (parallel to a mesh's vertices).

Note
CPU-only: the GPU only ever sees the deformed FQVertex, so joints/weights never leave the host and aren't part of the GPU vertex format. joints index the bound skeleton (see Animation.hpp); weights need not be pre-normalized.

Member Data Documentation

◆ joints

uint16_t FSkinBinding::joints[4] {0, 0, 0, 0}

◆ weights

float FSkinBinding::weights[4] {1, 0, 0, 0}

The documentation for this struct was generated from the following file: