protected override PixelBox LockImpl( BasicBox lockBox, BufferLocking options )
{
allocateBuffer();
if ( options != BufferLocking.Discard && ( usage & BufferUsage.WriteOnly ) == 0 )
{
// Download the old contents of the texture
download( _buffer );
}
_currentLockOptions = options;
return _buffer.GetSubVolume( lockBox );
}