Interface FrameBufferMSAADescriptor

Descriptor for creating a multi-sample anti-aliasing (MSAA) frame buffer

interface FrameBufferMSAADescriptor {
    colorBufferNum: number;
    colorFormats: TextureFormatEnum[];
    depthBufferFormat: TextureFormatEnum;
    height: number;
    sampleCountMSAA: number;
    width: number;
}

Properties

colorBufferNum: number

Number of color buffer attachments

colorFormats: TextureFormatEnum[]

Array of color buffer formats

depthBufferFormat: TextureFormatEnum

Format for the depth buffer

height: number

Height of the frame buffer in pixels

sampleCountMSAA: number

Number of samples for MSAA

width: number

Width of the frame buffer in pixels