yucad3d

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

DeclarationName
Yu3dReader*
uint32_t* out_lenout_len

Returns

const char*

Same group (Payload reader)

r_u8 · r_u32 · r_f64

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.