Definition at line 633 of file GraphicsAdapter.cs.
634 {
636 {
637 return false;
638 }
641 {
642 if (flag)
643 {
644 return false;
645 }
647 {
649 if (((
delegate*
unmanaged[
Stdcall,
Stdcall]<
IntPtr, uint, _D3DDEVTYPE,
_D3DFORMAT,
_D3DFORMAT,
int,
int>)(
int)(*(uint*)num))((nint)
pComPtr,
adapter,
deviceType,
_003CModule_003E.ConvertXnaFormatToWindowsAdapterFormat(
format),
_003CModule_003E.ConvertXnaFormatToWindows(
format), 0) < 0)
650 {
651 return false;
652 }
653 }
654 }
656 if (!flag)
657 {
659 }
661 return ((
delegate*
unmanaged[
Stdcall,
Stdcall]<
IntPtr, uint, _D3DDEVTYPE,
_D3DFORMAT, uint,
_D3DRESOURCETYPE,
_D3DFORMAT,
int>)(int)(*(uint*)
num3))((nint)
pComPtr,
adapter,
deviceType, ProfileChecker.IRRELEVANT_ADAPTER_FORMAT,
num2, (
_D3DRESOURCETYPE)3,
_003CModule_003E.ConvertXnaFormatToWindows(
format)) >= 0;
662 }
static unsafe IDirect3D9 * pComPtr
bool ICollection< KeyValuePair< TKey, TValue > >. Contains(KeyValuePair< TKey, TValue > keyValuePair)
References Microsoft.Xna.Framework.Graphics.GraphicsAdapter.adapter, System.Collections.Generic.Dictionary< TKey, TValue >.Contains(), System.format, Microsoft.Xna.Framework.Graphics.ProfileChecker.IRRELEVANT_ADAPTER_FORMAT, and Microsoft.Xna.Framework.Graphics.GraphicsAdapter.pComPtr.
Referenced by Microsoft.Xna.Framework.Graphics.GraphicsAdapter.QuerySurfaceFormat().