gdk4_win32/auto/d3d12_texture.rs
1// This file was generated by gir (https://github.com/gtk-rs/gir)
2// from gir-files (https://github.com/gtk-rs/gir-files)
3// DO NOT EDIT
4
5use crate::ffi;
6
7glib::wrapper! {
8 /// A [`gdk::Texture`][crate::gdk::Texture] representing a [ID3D12Resource](https://learn.microsoft.com/en-us/windows/win32/api/d3d12/nn-d3d12-id3d12resource).
9 ///
10 /// To create a [`D3D12Texture`][crate::D3D12Texture], use the auxiliary
11 /// [class@Gdk.Win32.D3d12TextureBuilder] object.
12 ///
13 /// D3D12 textures can only be created on Windows.
14 ///
15 /// # Implements
16 ///
17 /// [`trait@gdk::prelude::TextureExt`], [`trait@gdk::prelude::PaintableExt`], [`trait@gio::prelude::IconExt`], [`trait@gio::prelude::LoadableIconExt`]
18 #[doc(alias = "GdkD3D12Texture")]
19 pub struct D3D12Texture(Object<ffi::GdkD3D12Texture, ffi::GdkD3D12TextureClass>) @extends gdk::Texture, @implements gdk::Paintable, gio::Icon, gio::LoadableIcon;
20
21 match fn {
22 type_ => || ffi::gdk_d3d12_texture_get_type(),
23 }
24}
25
26impl D3D12Texture {}