简体   繁体   中英

Error: ID3D11Texture2D is not defined.

I included d3d11.h header, but when I declare a pointer of this type:

ID3D11Textrue2D* pDepthStencilBuffer = 0;

it says that ID3D11Texture2D is not defined.

So how can I solve the problem?

您拼错了ID3D11Textrue2D ,它应该是ID3D11Texture2D

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM