258 {
259 get
260 {
262 Helpers.CheckDisposed(this, intPtr);
264 }
265 set
266 {
268 Helpers.CheckDisposed(this, intPtr);
270 {
271 int num;
272 int num2;
274 {
276 num = renderTargetHelper.width;
277 num2 = renderTargetHelper.height;
278 }
279 else
280 {
283 }
285 {
286 if (!(
value.MinDepth < 0f) && !(value.MinDepth > 1f))
287 {
288 if (!(
value.MaxDepth < 0f) && !(value.MaxDepth > 1f))
289 {
290 double num3 =
value.MaxDepth;
291 if (num3 < (
double)
value.MinDepth)
292 {
294 }
295 IDirect3DDevice9* ptr =
pComPtr;
296 int num4 = ((delegate* unmanaged[Stdcall, Stdcall]<
IntPtr, _D3DVIEWPORT9*,
int>)(
int)(*(uint*)(*(
int*)ptr + 188)))((nint)ptr, (_D3DVIEWPORT9*)(
int)(ref
value));
297 if (num4 < 0)
298 {
299 throw GraphicsHelpers.GetExceptionFromResult((uint)num4);
300 }
302 return;
303 }
305 }
307 }
309 }
311 }
312 }
PresentationParameters pInternalCachedParams
int currentRenderTargetCount
unsafe IDirect3DDevice9 * pComPtr
RenderTargetHelper[] currentRenderTargets