Parameters
| Name | Description | Default |
|---|---|---|
format | A value from TextureFormat. | — |
Returns
A GL_* attachment enum, e.g. gl.COLOR_ATTACHMENT0, gl.DEPTH_ATTACHMENT, etc.
Function
getFramebufferAttachment ( format: number ) : number Converts a TextureFormat enum value to the appropriate framebuffer attachment type.