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

Method tex_get_surface

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

Source from the content-addressed store, hash-verified

195 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void tex_set_mem (IntPtr texture, [In] byte[] data, UIntPtr data_size, [MarshalAs(UnmanagedType.Bool)] bool srgb_data, [MarshalAs(UnmanagedType.Bool)] bool blocking, int priority);
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);

Callers 1

GetNativeSurfaceMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected