winapi::d3d9types
pub const D3DRS_ALPHAREF: D3DRENDERSTATETYPE = D3DRENDERSTATETYPE(24)
=
D3DRENDERSTATETYPE(24)