Documentation

SpeedTree Runtime SDK

Version: 10

SpeedTree Runtime SDK

Version: 10

Data types

Learn where the Runtime SDK defines its basic data types.
Read time 1 minuteLast updated 2 hours ago

The basic data types used by the SpeedTree Runtime SDK are defined in
Core/Types.h
.
/////////////////////////////////////////////////////////////////////// // Setup types based on platform, but nothing too complex typedef bool st_bool;typedef char st_int8;typedef char st_char;typedef short st_int16;typedef int st_int32;typedef long long st_int64;typedef unsigned char st_uint8;typedef unsigned char st_byte;typedef unsigned char st_uchar;typedef unsigned short st_uint16;typedef unsigned int st_uint32;typedef float st_float32;typedef double st_float64;typedef size_t st_sizet;// st_float16, commonly known as a half float, has its own complete definition in Core/Types.h.
Compile time checks are used in
Core/Types.h
to ensure that the types are of the expected size.