Original Post
can not I cast D3DCOLORVALUE to D3DXCOLOR ? them have the same data member. do casting a variable will incur a temp variable creation? type2& get (type1* f) { return type2(*f); } wiil this return a temp address ?