OcclusionQuery.Dispose Method (Boolean)
Releases the unmanaged resources used by Dispose and optionally releases the managed resources.
Syntax
'Declaration
Protected Overrides Sub Dispose ( _
disposing As Boolean _
)
protected override void Dispose (
bool disposing
)
protected:
void Dispose(
bool disposing
) override
Parameters
- disposing
Type: Boolean
[MarshalAsAttribute(U1)] true to release both managed and unmanaged resources; false to release only unmanaged resources.
Requirements
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)
See Also
Reference
OcclusionQuery Class
OcclusionQuery Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Windows Phone