pub fn init_platform_data<T: PlatformData>(ctx: &mut Context, data: T)
Initialize platform data in a context