50 byte b = ((((delegate* unmanaged[Stdcall, Stdcall]<
IntPtr,
void*, uint, uint,
int>)(
int)(*(uint*)(*(
int*)ptr + 28)))((nint)ptr, &pixelCount, 4u, 1u) == 0) ? ((byte)1) : ((byte)0));
63 ((object)
this)._002Ector();
81 if (graphicsDevice ==
null)
90 fixed (IDirect3DQuery9** ptr = &
pComPtr)
92 int num = *(
int*)graphicsDevice.
pComPtr + 472;
93 int num2 = ((delegate* unmanaged[Stdcall, Stdcall]<
IntPtr, _D3DQUERYTYPE, IDirect3DQuery9**,
int>)(
int)(*(uint*)num))((nint)graphicsDevice.
pComPtr, (_D3DQUERYTYPE)9, ptr);
121 IDirect3DQuery9* ptr =
pComPtr;
122 int num = ((delegate* unmanaged[Stdcall, Stdcall]<
IntPtr, uint,
int>)(
int)(*(uint*)(*(
int*)ptr + 24)))((nint)ptr, 2u);
139 IDirect3DQuery9* ptr =
pComPtr;
140 int num = ((delegate* unmanaged[Stdcall, Stdcall]<
IntPtr, uint,
int>)(
int)(*(uint*)(*(
int*)ptr + 24)))((nint)ptr, 1u);
165 fixed (IDirect3DQuery9** ptr = &
pComPtr)
168 int num2 = ((delegate* unmanaged[Stdcall, Stdcall]<
IntPtr, _D3DQUERYTYPE, IDirect3DQuery9**,
int>)(
int)(*(uint*)num))((nint)
_parent.
pComPtr, (_D3DQUERYTYPE)9, ptr);
186 if (parent !=
null &&
pComPtr !=
null)
203 if (occlusionQuery !=
null)
205 ((delegate* unmanaged[Stdcall, Stdcall]<
IntPtr, uint>)(
int)(*(uint*)(*(
int*)pInterface + 8)))((nint)pInterface);
206 occlusionQuery.isDisposed =
false;
214 return occlusionQuery;
239 [HandleProcessCorruptedStateExceptions]
static string ProfileFeatureNotSupported
static string EndMustBeCalledBeforeBegin
static string DeviceCannotBeNullOnResourceCreate
static string BeginMustBeCalledBeforeEnd
static string DataNotAvailable
static string IsCompleteMustBeCalled
unsafe object GetCachedObject(void *pComPtr)
unsafe void AddTrackedObject(object managedObject, void *pComPtr, uint resourceManagementMode, ulong handle, ref ulong updatedHandle)
unsafe void ReleaseAllReferences(ulong handle, [MarshalAs(UnmanagedType.U1)] bool dispose)
virtual void Dispose([MarshalAs(UnmanagedType.U1)] bool P_0)
DeviceResourceManager Resources
ProfileCapabilities _profileCapabilities
unsafe IDirect3DDevice9 * pComPtr
static Exception GetExceptionFromResult(uint result)
unsafe OcclusionQuery(IDirect3DQuery9 *pInterface, GraphicsDevice pDevice)
bool _hasIsCompleteBeenQueried
override void Dispose([MarshalAs(UnmanagedType.U1)] bool P_0)
void _0021OcclusionQuery()
virtual unsafe int RecreateAndPopulateObject()
static unsafe OcclusionQuery GetManagedObject(IDirect3DQuery9 *pInterface, GraphicsDevice pDevice, uint pool)
virtual int SaveDataForRecreation()
unsafe IDirect3DQuery9 * pComPtr
unsafe OcclusionQuery(GraphicsDevice graphicsDevice)
void _007EOcclusionQuery()
virtual unsafe void ReleaseNativeObject([MarshalAs(UnmanagedType.U1)] bool disposeManagedResource)
void ThrowNotSupportedException(string message)
static void ReRegisterForFinalize(object obj)
void ReleaseNativeObject([MarshalAs(UnmanagedType.U1)] bool disposeManagedResource)
int RecreateAndPopulateObject()
int SaveDataForRecreation()