Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Microsoft.Xna.Framework.Graphics.OcclusionQuery Class Reference

Public Member Functions

unsafe OcclusionQuery (GraphicsDevice graphicsDevice)
 
unsafe void Begin ()
 
unsafe void End ()
 
override string ToString ()
 
virtual void Dispose ()
 

Protected Member Functions

override void Dispose ([MarshalAs(UnmanagedType.U1)] bool P_0)
 
void raise_Disposing (object value0, EventArgs value1)
 

Protected Attributes

GraphicsDevice _parent
 

Package Functions

virtual int SaveDataForRecreation ()
 
virtual unsafe int RecreateAndPopulateObject ()
 
virtual unsafe void ReleaseNativeObject ([MarshalAs(UnmanagedType.U1)] bool disposeManagedResource)
 

Static Package Functions

static unsafe OcclusionQuery GetManagedObject (IDirect3DQuery9 *pInterface, GraphicsDevice pDevice, uint pool)
 

Package Attributes

unsafe IDirect3DQuery9 * pComPtr
 
ulong _internalHandle
 
bool isDisposed
 

Properties

int PixelCount [get]
 
unsafe bool IsComplete [get]
 
bool IsDisposed [get]
 
object Tag [get, set]
 
string Name [get, set]
 
GraphicsDevice GraphicsDevice [get]
 
EventHandler< EventArgsDisposing
 

Private Member Functions

unsafe OcclusionQuery (IDirect3DQuery9 *pInterface, GraphicsDevice pDevice)
 
int IGraphicsResource. SaveDataForRecreation ()
 
int IGraphicsResource. RecreateAndPopulateObject ()
 
void IGraphicsResource. ReleaseNativeObject ([MarshalAs(UnmanagedType.U1)] bool disposeManagedResource)
 
void OnObjectCreation ()
 
void _0021OcclusionQuery ()
 
void _007EOcclusionQuery ()
 
void _0021GraphicsResource ()
 
void _007EGraphicsResource ()
 

Private Attributes

int _pixelCount
 
bool _isAvailable
 
bool _isInBeginEndPair
 
bool _hasCalledBegin
 
bool _hasIsCompleteBeenQueried
 
string _localName
 
object _localTag
 
EventHandler< EventArgs_003Cbacking_store_003EDisposing
 

Detailed Description

Definition at line 8 of file OcclusionQuery.cs.


The documentation for this class was generated from the following file: