ValveSoftware / openvr

OpenVR SDK
http://steamvr.com
BSD 3-Clause "New" or "Revised" License
6.14k stars 1.28k forks source link

IVRDriverDirectModeComponent supported DXGI formats #406

Open superjallu opened 7 years ago

superjallu commented 7 years ago

CreateSwapTextureSet takes DXGI format as a parameter for creating textures. Can we make any assumptions on the format? There are 132 possible DXGI formats, is it necessary to support all or certain subset like RGBA formats only? Looks like format-parameter has always value DXGI_FORMAT_R8G8B8A8_UNORM_SRGB. Is this harcoded for now or dependant on graphics hardware?

TheDeveloperGuy commented 7 years ago

AFAIK it's dependent on the app running. I wouldn't make any assumptions... ;)