OptionalinternalThe internal format for the renderbuffer. This is a GLenum such as gl.DEPTH_STENCIL.
OptionalrenderbufferThe renderbuffer for the attachment. Either a texture or a renderbuffer is required.
OptionaltextureThe texture for the attachment. Either a texture or a renderbuffer is required.
The attachment point for the attachment. This is a GLenum such as
gl.COLOR_ATTACHMENT0,gl.DEPTH_ATTACHMENT,gl.STENCIL_ATTACHMENT, orgl.DEPTH_STENCIL_ATTACHMENT.