| 203 | [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr tex_gen_cubemap (IntPtr gradient, Vec3 gradient_dir, int resolution, out SphericalHarmonics lighting_info); |
| 204 | [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr tex_gen_cubemap_sh (in SphericalHarmonics lighting, int resolution, float light_spot_size_pct, float light_spot_intensity); |
| 205 | [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern TexFormat tex_get_format (IntPtr texture); |
| 206 | [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern int tex_get_width (IntPtr texture); |
| 207 | [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern int tex_get_height (IntPtr texture); |
| 208 | [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void tex_set_sample (IntPtr texture, TexSample sample = TexSample.Linear); |