@@ -434,6 +434,36 @@ public void GetTexDataAsAlpha8(out byte* out_pixels, out int out_width, out int
434434 }
435435 }
436436 }
437+ public void GetTexDataAsAlpha8 ( out IntPtr out_pixels , out int out_width , out int out_height )
438+ {
439+ int * out_bytes_per_pixel = null ;
440+ fixed ( IntPtr * native_out_pixels = & out_pixels )
441+ {
442+ fixed ( int * native_out_width = & out_width )
443+ {
444+ fixed ( int * native_out_height = & out_height )
445+ {
446+ ImGuiNative . ImFontAtlas_GetTexDataAsAlpha8 ( NativePtr , native_out_pixels , native_out_width , native_out_height , out_bytes_per_pixel ) ;
447+ }
448+ }
449+ }
450+ }
451+ public void GetTexDataAsAlpha8 ( out IntPtr out_pixels , out int out_width , out int out_height , out int out_bytes_per_pixel )
452+ {
453+ fixed ( IntPtr * native_out_pixels = & out_pixels )
454+ {
455+ fixed ( int * native_out_width = & out_width )
456+ {
457+ fixed ( int * native_out_height = & out_height )
458+ {
459+ fixed ( int * native_out_bytes_per_pixel = & out_bytes_per_pixel )
460+ {
461+ ImGuiNative . ImFontAtlas_GetTexDataAsAlpha8 ( NativePtr , native_out_pixels , native_out_width , native_out_height , native_out_bytes_per_pixel ) ;
462+ }
463+ }
464+ }
465+ }
466+ }
437467 public void GetTexDataAsRGBA32 ( out byte * out_pixels , out int out_width , out int out_height )
438468 {
439469 int * out_bytes_per_pixel = null ;
@@ -464,6 +494,36 @@ public void GetTexDataAsRGBA32(out byte* out_pixels, out int out_width, out int
464494 }
465495 }
466496 }
497+ public void GetTexDataAsRGBA32 ( out IntPtr out_pixels , out int out_width , out int out_height )
498+ {
499+ int * out_bytes_per_pixel = null ;
500+ fixed ( IntPtr * native_out_pixels = & out_pixels )
501+ {
502+ fixed ( int * native_out_width = & out_width )
503+ {
504+ fixed ( int * native_out_height = & out_height )
505+ {
506+ ImGuiNative . ImFontAtlas_GetTexDataAsRGBA32 ( NativePtr , native_out_pixels , native_out_width , native_out_height , out_bytes_per_pixel ) ;
507+ }
508+ }
509+ }
510+ }
511+ public void GetTexDataAsRGBA32 ( out IntPtr out_pixels , out int out_width , out int out_height , out int out_bytes_per_pixel )
512+ {
513+ fixed ( IntPtr * native_out_pixels = & out_pixels )
514+ {
515+ fixed ( int * native_out_width = & out_width )
516+ {
517+ fixed ( int * native_out_height = & out_height )
518+ {
519+ fixed ( int * native_out_bytes_per_pixel = & out_bytes_per_pixel )
520+ {
521+ ImGuiNative . ImFontAtlas_GetTexDataAsRGBA32 ( NativePtr , native_out_pixels , native_out_width , native_out_height , native_out_bytes_per_pixel ) ;
522+ }
523+ }
524+ }
525+ }
526+ }
467527 public bool IsBuilt ( )
468528 {
469529 byte ret = ImGuiNative . ImFontAtlas_IsBuilt ( NativePtr ) ;
0 commit comments