MCPcopy Create free account
hub / github.com/StereoKit/StereoKit / tex_get_format

Method tex_get_format

StereoKit/Native/NativeAPI.cs:205–205  ·  view source on GitHub ↗
(IntPtr texture)

Source from the content-addressed store, hash-verified

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);

Callers 1

TexClass · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected