Axiom.RenderSystems.OpenGLES.GLESPBRTTManager.ReleasePBuffer C# (CSharp) Method

ReleasePBuffer() public method

public ReleasePBuffer ( PixelComponentType ctype ) : void
ctype PixelComponentType
return void
		public void ReleasePBuffer( PixelComponentType ctype )
		{
			--_pixelBuffers[ (int)ctype ].ReferenceCount;
			if ( _pixelBuffers[ (int)ctype ].ReferenceCount == 0 )
			{
				//_pixelBuffers[ (int)ctype ].Buffer.Dispose();
				_pixelBuffers[ (int)ctype ].Buffer = null;
			}

		}