r_str
reader: return 1 on success, 0 on failure. r_str returns a pointer to host-owned memory valid only until the NEXT reader call — copy out what you need immediately.
This function shares its documentation with the rest of the Payload reader group above.
Prototype
const char* (*r_str)(Yu3dReader*, uint32_t* out_len)
Parameters
| Declaration | Name |
|---|---|
Yu3dReader* | — |
uint32_t* out_len | out_len |
Returns
const char*
Same group (Payload reader)
Declared in sdk/include/yu3d_plugin.h. Reached through the host table: host->r_str(…). Guard with YU3D_HOST_HAS(host, r_str) if your plugin must also load in an older host.