Axiom.Graphics.TempBlendedBufferInfo.BuffersCheckedOut C# (CSharp) Method

BuffersCheckedOut() public method

Detect currently have buffer copies checked out and touch it
public BuffersCheckedOut ( bool positions, bool normals ) : bool
positions bool
normals bool
return bool
		public bool BuffersCheckedOut( bool positions, bool normals )
		{
			if ( positions || ( normals && posNormalShareBuffer ) )
			{
				if ( destPositionBuffer == null )
					return false;
				HardwareBufferManager.Instance.TouchVertexBufferCopy( destPositionBuffer );
			}
			if ( normals && !posNormalShareBuffer )
			{
				if ( destNormalBuffer == null )
					return false;
				HardwareBufferManager.Instance.TouchVertexBufferCopy( destNormalBuffer );
			}
			return true;
		}