Sign in to follow this  
lucky6969b

Pushing a MatD3D element into std::vector<D3DMATERIAL9>

Recommended Posts

d3dxmtrls is a D3DXMATERIAL*
[code]
D3DMATERIAL9 m = d3dxmtrls[j].MatD3D;
mMaterial.push_back(m);
[/code]

mMaterial is declared as std::vector....
I check the std include file, it says it is a non-element.
Why?

I found _MyLast in std::vector is 0x00000018 Edited by lucky6969b

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this