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

◆ MultiSampleMask

unsafe int Microsoft.Xna.Framework.Graphics.GraphicsDevice.MultiSampleMask
getset

Definition at line 446 of file GraphicsDevice.cs.

447 {
448 get
449 {
451 }
452 set
453 {
454 IntPtr intPtr = (IntPtr)pComPtr;
455 Helpers.CheckDisposed(this, intPtr);
456 EffectPass effectPass = activePass;
457 if (effectPass != null && (effectPass._stateFlags & EffectStateFlags.Blend) != 0)
458 {
459 effectPass.EndPass();
460 activePass = null;
461 }
462 IDirect3DDevice9* ptr = pComPtr;
463 ((delegate* unmanaged[Stdcall, Stdcall]<IntPtr, _D3DRENDERSTATETYPE, uint, int>)(int)(*(uint*)(*(int*)ptr + 228)))((nint)ptr, (_D3DRENDERSTATETYPE)162, (uint)value);
465 blendStateDirty = true;
466 }
467 }

Referenced by Microsoft.Xna.Framework.Graphics.SavedDeviceState.SavedDeviceState().