Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is the purpose of the D3DCREATE_PUREDEVICE flag?

FLAG purpose
0
Posted

What is the purpose of the D3DCREATE_PUREDEVICE flag?

0

Use the D3DCREATE_PUREDEVICE flag during device creation to create a pure device. A pure device does not save the current state (during state changes), which often improves performance; this device also requires hardware vertex processing. A pure device is typically used when development and debugging are completed, and you want to achieve the best performance. One drawback of a pure device is that it does not support all Get* API calls; this means you can not use a pure device to query the pipeline state. This makes it more difficult to debug while running an application. Below is a list of all the methods that are disabled by a pure device. • ID3D10Device9::GetClipPlane • ID3D10Device9::GetClipStatus • ID3D10Device9::GetLight • ID3D10Device9::GetLightEnable • ID3D10Device9::GetMaterial • ID3D10Device9::GetPixelShaderConstantF • ID3D10Device9::GetPixelShaderConstantI • ID3D10Device9::GetPixelShaderConstantB • ID3D10Device9::GetRenderState • ID3D10Device9::GetSamplerState • ID3D10Devic

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123