Axiom.RenderSystems.OpenGL.GLHardwarePixelBuffer.LockImpl C# (CSharp) 메소드

LockImpl() 보호된 메소드

protected LockImpl ( BasicBox lockBox, BufferLocking options ) : PixelBox
lockBox Axiom.Media.BasicBox
options BufferLocking
리턴 Axiom.Media.PixelBox
		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 );
		}