commonlibsse_ng\re\d/
DecalData.rs1use crate::re::Color::Color;
2
3#[repr(u8)]
4#[derive(Debug, Clone, Copy, PartialEq, Eq)]
5pub enum Flag {
6 None = 0,
7 Parallax = 1 << 0,
8 AlphaBlending = 1 << 1,
9 AlphaTesting = 1 << 2,
10 NoSubtextures = 1 << 3,
11}
12
13#[repr(C)]
14#[derive(Debug, Clone, PartialEq)]
15pub struct DECAL_DATA_DATA {
16 pub decalMinWidth: f32, pub decalMaxWidth: f32, pub decalMinHeight: f32, pub decalMaxHeight: f32, pub depth: f32, pub shininess: f32, pub parallaxScale: f32, pub parallaxPasses: i8, pub flags: u8, pub pad1E: u16, pub color: Color, }
28const _: () = assert!(std::mem::size_of::<DECAL_DATA_DATA>() == 0x24);
29
30#[repr(C)]
31#[derive(Debug, Clone, PartialEq)]
32pub struct DecalData {
33 pub data: DECAL_DATA_DATA, }
35const _: () = assert!(std::mem::size_of::<DecalData>() == 0x24);