Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 DirectX 的初学者,所以请保持简单。我已加载纹理并将其显示在四边形上,但仍显示透明背景。我怎么能阻止它?我尝试了几种不同的方法,它们阻止了它的显示,但是我在屏幕上绘制的其他四边形也消失了(它们没有纹理)。
我的问题是在绘制没有纹理的图元之前我没有将纹理重置为空。