Class FrameBufferObject

帧缓冲对象

Hierarchy

  • FrameBufferObject

Constructors

Properties

OFFSCREEN_HEIGHT: number = 1024
OFFSCREEN_WIDTH: number = 1024
_invalid: boolean = true

是否失效

depthBuffer: RenderBuffer
frameBuffer: FrameBuffer
frameBufferObjects: WeakMap<FrameBufferObject, {
    depthBuffer: WebGLRenderbuffer;
    framebuffer: WebGLFramebuffer;
    texture: WebGLTexture;
}> = ...

此处用于缓存,需要获取有效数据请调用 Attribute.getBuffer

Methods

  • Parameters

    Returns {
        depthBuffer: WebGLRenderbuffer;
        framebuffer: WebGLFramebuffer;
        texture: WebGLTexture;
    }

    • depthBuffer: WebGLRenderbuffer
    • framebuffer: WebGLFramebuffer
    • texture: WebGLTexture

Generated using TypeDoc