---
title: Data types
product: SpeedTree Runtime SDK
version: '10'
latest_version: '10'
status: This page documents version 10. The latest version is 10.
canonical: https://docs.unity.com/en-us/speedtree-runtime-sdk/10/data-types
latest_url: https://docs.unity.com/en-us/speedtree-runtime-sdk/10/data-types.md
last_updated: 2026-11-20
generated_at: 2026-11-20T20:13:02.687Z
locale: en-us
---

# Data types

> Learn where the Runtime SDK defines its basic data types.

The basic data types used by the SpeedTree Runtime SDK are defined in `Core/Types.h`.

```cpp
///////////////////////////////////////////////////////////////////////  
//  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.
