public RequestPBuffer ( PixelComponentType pcType, int width, int height ) : void | ||
pcType | PixelComponentType | |
width | int | |
height | int | |
return | void |
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); }
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 ); }