]>
Commit | Line | Data |
---|---|---|
04454e1e | 1 | #[doc = "*Required features: `\"UI_Composition_Scenes\"`*"] |
5e7ed085 FG |
2 | #[repr(transparent)] |
3 | pub struct SceneAlphaMode(pub i32); | |
4 | impl SceneAlphaMode { | |
5 | pub const Opaque: Self = Self(0i32); | |
6 | pub const AlphaTest: Self = Self(1i32); | |
7 | pub const Blend: Self = Self(2i32); | |
8 | } | |
9 | impl ::core::marker::Copy for SceneAlphaMode {} | |
10 | impl ::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)] |
17 | pub struct SceneAttributeSemantic(pub i32); | |
18 | impl 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 | } | |
27 | impl ::core::marker::Copy for SceneAttributeSemantic {} | |
28 | impl ::core::clone::Clone for SceneAttributeSemantic { | |
29 | fn clone(&self) -> Self { | |
30 | *self | |
31 | } | |
32 | } | |
33 | pub type SceneBoundingBox = *mut ::core::ffi::c_void; | |
34 | pub type SceneComponent = *mut ::core::ffi::c_void; | |
35 | pub type SceneComponentCollection = *mut ::core::ffi::c_void; | |
04454e1e | 36 | #[doc = "*Required features: `\"UI_Composition_Scenes\"`*"] |
5e7ed085 FG |
37 | #[repr(transparent)] |
38 | pub struct SceneComponentType(pub i32); | |
39 | impl SceneComponentType { | |
40 | pub const MeshRendererComponent: Self = Self(0i32); | |
41 | } | |
42 | impl ::core::marker::Copy for SceneComponentType {} | |
43 | impl ::core::clone::Clone for SceneComponentType { | |
44 | fn clone(&self) -> Self { | |
45 | *self | |
46 | } | |
47 | } | |
48 | pub type SceneMaterial = *mut ::core::ffi::c_void; | |
49 | pub type SceneMaterialInput = *mut ::core::ffi::c_void; | |
50 | pub type SceneMesh = *mut ::core::ffi::c_void; | |
51 | pub type SceneMeshMaterialAttributeMap = *mut ::core::ffi::c_void; | |
52 | pub type SceneMeshRendererComponent = *mut ::core::ffi::c_void; | |
53 | pub type SceneMetallicRoughnessMaterial = *mut ::core::ffi::c_void; | |
54 | pub type SceneModelTransform = *mut ::core::ffi::c_void; | |
55 | pub type SceneNode = *mut ::core::ffi::c_void; | |
56 | pub type SceneNodeCollection = *mut ::core::ffi::c_void; | |
57 | pub type SceneObject = *mut ::core::ffi::c_void; | |
58 | pub type ScenePbrMaterial = *mut ::core::ffi::c_void; | |
59 | pub type SceneRendererComponent = *mut ::core::ffi::c_void; | |
60 | pub type SceneSurfaceMaterialInput = *mut ::core::ffi::c_void; | |
61 | pub type SceneVisual = *mut ::core::ffi::c_void; | |
04454e1e | 62 | #[doc = "*Required features: `\"UI_Composition_Scenes\"`*"] |
5e7ed085 FG |
63 | #[repr(transparent)] |
64 | pub struct SceneWrappingMode(pub i32); | |
65 | impl SceneWrappingMode { | |
66 | pub const ClampToEdge: Self = Self(0i32); | |
67 | pub const MirroredRepeat: Self = Self(1i32); | |
68 | pub const Repeat: Self = Self(2i32); | |
69 | } | |
70 | impl ::core::marker::Copy for SceneWrappingMode {} | |
71 | impl ::core::clone::Clone for SceneWrappingMode { | |
72 | fn clone(&self) -> Self { | |
73 | *self | |
74 | } | |
75 | } |