use bytemuck::*;
use winapi::shared::d3d9caps::*;
use winapi::shared::minwindef::DWORD;
#[derive(Clone, Copy, Default, PartialEq, Eq, PartialOrd, Ord, Hash, Pod, Zeroable)] #[repr(transparent)] pub struct LineCaps(DWORD);
flags! {
LineCaps => DWORD;
None, AlphaCmp, AntiAlias, Blend, Fog, Texture, ZTest,
}
#[allow(non_upper_case_globals)] impl LineCaps {
pub const None : LineCaps = LineCaps(0);
pub const AlphaCmp : LineCaps = LineCaps(D3DLINECAPS_ALPHACMP);
pub const AntiAlias : LineCaps = LineCaps(D3DLINECAPS_ANTIALIAS);
pub const Blend : LineCaps = LineCaps(D3DLINECAPS_BLEND);
pub const Fog : LineCaps = LineCaps(D3DLINECAPS_FOG);
pub const Texture : LineCaps = LineCaps(D3DLINECAPS_TEXTURE);
pub const ZTest : LineCaps = LineCaps(D3DLINECAPS_ZTEST);
}