RequestPBuffer() public method

Create PBuffer for a certain pixel format and size
public RequestPBuffer ( PixelComponentType pcType, int width, int height ) : void
pcType PixelComponentType
width int
height int
return void
Ejemplo n.º 1
0
        public GLPBRenderTexture(GLPBRTTManager manager, string name, GLSurfaceDesc target, bool writeGamma, int fsaa)
            : base(name, target, writeGamma, fsaa)
        {
            this.manager = manager;

            this.pbFormat = PixelUtil.GetComponentType(target.Buffer.Format);
            manager.RequestPBuffer(this.pbFormat, Width, Height);
        }
Ejemplo n.º 2
0
		public GLPBRenderTexture( GLPBRTTManager manager, string name, GLSurfaceDesc target, bool writeGamma, int fsaa )
			: base( name, target, writeGamma, fsaa )
		{
			this.manager = manager;

			this.pbFormat = PixelUtil.GetComponentType( target.Buffer.Format );
			manager.RequestPBuffer( this.pbFormat, Width, Height );
		}