RequestPBuffer() 공개 메소드

Create PBuffer for a certain pixel format and size
public RequestPBuffer ( PixelComponentType pcType, int width, int height ) : void
pcType PixelComponentType
width int
height int
리턴 void
예제 #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);
        }
예제 #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 );
		}