winapi::d3d9types
pub const D3DRS_TEXTUREFACTOR: D3DRENDERSTATETYPE = D3DRENDERSTATETYPE(60)
=
D3DRENDERSTATETYPE(60)