Xbox LIVE Indie Games
Sort Discussions: Previous Discussion Next Discussion
Page 1 of 1 (2 posts)

Efficient way to retrieve/set full D3D11 device context state?

Last post 7/26/2016 8:15 PM by Charybdis. 1 replies.
  • 7/24/2016 5:11 PM

    Efficient way to retrieve/set full D3D11 device context state?

    Is there a fast way to do this? I'm trying to use GetData without success.

    Regards.

    Isaac.
  • 7/26/2016 8:15 PM In reply to

    Re: Efficient way to retrieve/set full D3D11 device context state?

    ID3D11DeviceContext::GetData is for working with async queries. It is not the old 'state block' concept which is in general not efficient

    With Direct3D 11.1 or later you can make use of ID3D11Device1::CreateDeviceContextState, although this is really intended for interop rather than emulating old-school state blocks.

    What are you tying to do?
Page 1 of 1 (2 posts) Previous Discussion Next Discussion