Nez.Portable/ECS/Components/Renderables/3D/GeometricPrimitive3D.cs
/// <summary>
/// frees resources used by this object.
/// </summary>
frees resources used by this object.
frees resources used by this object .
protected virtual void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (_vertexBuffer != null)
                    _vertexBuffer.Dispose();
                if (_indexBuffer != null)
                    _indexBuffer.Dispose();
                if (_basicEffect != null)
                    _basicEffect.Dispose();
            }
        }
protected virtual void Dispose ( bool disposing ) { if ( disposing ) { if ( _vertexBuffer != null ) _vertexBuffer . Dispose ( ) ; if ( _indexBuffer != null ) _indexBuffer . Dispose ( ) ; if ( _basicEffect != null ) _basicEffect . Dispose ( ) ; } }
frees resources used by this object.
frees resources used by this object .
disposing
bool