Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ QueryBackBufferFormat()

bool Microsoft.Xna.Framework.Graphics.GraphicsAdapter.QueryBackBufferFormat ( GraphicsProfile graphicsProfile,
SurfaceFormat format,
DepthFormat depthFormat,
int multiSampleCount,
out SurfaceFormat selectedFormat,
out DepthFormat selectedDepthFormat,
out int selectedMultiSampleCount )
inline

Definition at line 307 of file GraphicsAdapter.cs.

308 {
309 _D3DDEVTYPE deviceType = ((!_003Cbacking_store_003EUseNullDevice) ? ((!_003Cbacking_store_003EUseReferenceDevice) ? ((_D3DDEVTYPE)1) : ((_D3DDEVTYPE)2)) : ((_D3DDEVTYPE)4));
311 }
bool QueryFormat([MarshalAs(UnmanagedType.U1)] bool isBackBuffer, _D3DDEVTYPE deviceType, GraphicsProfile graphicsProfile, SurfaceFormat format, DepthFormat depthFormat, int multiSampleCount, out SurfaceFormat selectedFormat, out DepthFormat selectedDepthFormat, out int selectedMultiSampleCount)

References Microsoft.Xna.Framework.Graphics.GraphicsAdapter._003Cbacking_store_003EUseNullDevice, Microsoft.Xna.Framework.Graphics.GraphicsAdapter._003Cbacking_store_003EUseReferenceDevice, System.format, and Microsoft.Xna.Framework.Graphics.GraphicsAdapter.QueryFormat().