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

Method tex_add_zbuffer

StereoKit/Native/NativeAPI.cs:198–198  ·  view source on GitHub ↗
(IntPtr texture, TexFormat format = TexFormat.DepthStencil)

Source from the content-addressed store, hash-verified

196 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void tex_set_surface (IntPtr texture, IntPtr native_surface, TexType type, long native_fmt, int width, int height, int surface_count, [MarshalAs(UnmanagedType.Bool)] bool owned);
197 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr tex_get_surface (IntPtr texture);
198 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr tex_add_zbuffer (IntPtr texture, TexFormat format = TexFormat.DepthStencil);
199 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void tex_get_data_mip (IntPtr texture, IntPtr out_data, UIntPtr out_data_size, int mip_level);
200 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr tex_gen_color (Color color, int width, int height, TexType type, TexFormat format);
201 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr tex_gen_particle (int width, int height, float roundness, IntPtr gradient);

Callers 1

AddZBufferMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected