LibT2FS 0.1
C API for accessing TEngine data in memory.
Loading...
Searching...
No Matches
s_T2FSVtxCache Struct Reference

#include <models.h>

Data Fields

uint32_t buf [T2FS_VERTEX_CACHE_SIZE]
 Mimic N64 vertex cache.
int8_t bones [T2FS_VERTEX_CACHE_SIZE]
 Keep track of what boneId the vertices belong to.
uint32_t globalOffset
 Current offset to global vertex buffer.
uint32_t localOffset
uint32_t curVertCount

Field Documentation

◆ buf

uint32_t s_T2FSVtxCache::buf[T2FS_VERTEX_CACHE_SIZE]

Mimic N64 vertex cache.

◆ bones

int8_t s_T2FSVtxCache::bones[T2FS_VERTEX_CACHE_SIZE]

Keep track of what boneId the vertices belong to.

◆ globalOffset

uint32_t s_T2FSVtxCache::globalOffset

Current offset to global vertex buffer.

◆ localOffset

uint32_t s_T2FSVtxCache::localOffset

Offset inside the vertex cache that the current block loaded the new vertices at.

◆ curVertCount

uint32_t s_T2FSVtxCache::curVertCount

Amount of vertices loaded by current block (gsSPVertex call).


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