]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/UI/Composition/Scenes/mod.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / UI / Composition / Scenes / mod.rs
CommitLineData
04454e1e 1#[doc = "*Required features: `\"UI_Composition_Scenes\"`*"]
5e7ed085
FG
2#[repr(transparent)]
3pub struct SceneAlphaMode(pub i32);
4impl SceneAlphaMode {
5 pub const Opaque: Self = Self(0i32);
6 pub const AlphaTest: Self = Self(1i32);
7 pub const Blend: Self = Self(2i32);
8}
9impl ::core::marker::Copy for SceneAlphaMode {}
10impl ::core::clone::Clone for SceneAlphaMode {
11 fn clone(&self) -> Self {
12 *self
13 }
14}
04454e1e 15#[doc = "*Required features: `\"UI_Composition_Scenes\"`*"]
5e7ed085
FG
16#[repr(transparent)]
17pub struct SceneAttributeSemantic(pub i32);
18impl SceneAttributeSemantic {
19 pub const Index: Self = Self(0i32);
20 pub const Vertex: Self = Self(1i32);
21 pub const Normal: Self = Self(2i32);
22 pub const TexCoord0: Self = Self(3i32);
23 pub const TexCoord1: Self = Self(4i32);
24 pub const Color: Self = Self(5i32);
25 pub const Tangent: Self = Self(6i32);
26}
27impl ::core::marker::Copy for SceneAttributeSemantic {}
28impl ::core::clone::Clone for SceneAttributeSemantic {
29 fn clone(&self) -> Self {
30 *self
31 }
32}
33pub type SceneBoundingBox = *mut ::core::ffi::c_void;
34pub type SceneComponent = *mut ::core::ffi::c_void;
35pub type SceneComponentCollection = *mut ::core::ffi::c_void;
04454e1e 36#[doc = "*Required features: `\"UI_Composition_Scenes\"`*"]
5e7ed085
FG
37#[repr(transparent)]
38pub struct SceneComponentType(pub i32);
39impl SceneComponentType {
40 pub const MeshRendererComponent: Self = Self(0i32);
41}
42impl ::core::marker::Copy for SceneComponentType {}
43impl ::core::clone::Clone for SceneComponentType {
44 fn clone(&self) -> Self {
45 *self
46 }
47}
48pub type SceneMaterial = *mut ::core::ffi::c_void;
49pub type SceneMaterialInput = *mut ::core::ffi::c_void;
50pub type SceneMesh = *mut ::core::ffi::c_void;
51pub type SceneMeshMaterialAttributeMap = *mut ::core::ffi::c_void;
52pub type SceneMeshRendererComponent = *mut ::core::ffi::c_void;
53pub type SceneMetallicRoughnessMaterial = *mut ::core::ffi::c_void;
54pub type SceneModelTransform = *mut ::core::ffi::c_void;
55pub type SceneNode = *mut ::core::ffi::c_void;
56pub type SceneNodeCollection = *mut ::core::ffi::c_void;
57pub type SceneObject = *mut ::core::ffi::c_void;
58pub type ScenePbrMaterial = *mut ::core::ffi::c_void;
59pub type SceneRendererComponent = *mut ::core::ffi::c_void;
60pub type SceneSurfaceMaterialInput = *mut ::core::ffi::c_void;
61pub type SceneVisual = *mut ::core::ffi::c_void;
04454e1e 62#[doc = "*Required features: `\"UI_Composition_Scenes\"`*"]
5e7ed085
FG
63#[repr(transparent)]
64pub struct SceneWrappingMode(pub i32);
65impl SceneWrappingMode {
66 pub const ClampToEdge: Self = Self(0i32);
67 pub const MirroredRepeat: Self = Self(1i32);
68 pub const Repeat: Self = Self(2i32);
69}
70impl ::core::marker::Copy for SceneWrappingMode {}
71impl ::core::clone::Clone for SceneWrappingMode {
72 fn clone(&self) -> Self {
73 *self
74 }
75}