thindx/headers/d3d9types.h/enumerations/
cull.rs1#[allow(unused_imports)] use crate::*;
2
3use winapi::shared::d3d9types::*;
4
5
6
7#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
12#[repr(transparent)] pub struct Cull(D3DCULL);
13
14enumish! { Cull => D3DCULL; None, CW, CCW }
15
16#[allow(non_upper_case_globals)] impl Cull { pub const None : Cull = Cull(D3DCULL_NONE); pub const CW : Cull = Cull(D3DCULL_CW);
19 pub const CCW : Cull = Cull(D3DCULL_CCW);
20}
21
22#[cfg(feature = "impl-poor-defaults")]
23impl Default for Cull {
24 fn default() -> Self { Cull::None } }