FrameBuffer.attach_new_texture

Attaches a new and empty 2D texture to the FrameBuffer Calls validate, and binds the returned texture

  1. Texture1D attach_new_texture(GLenum attachment_point, GLint internal_format, int width, GLenum format, GLenum type)
  2. Texture2D attach_new_texture(GLenum attachment_point, GLint internal_format, int width, int height, GLenum format, GLenum type)
    class FrameBuffer
    attach_new_texture
    (,,
    int width
    ,
    int height
    ,
    GLenum format
    ,
    GLenum type
    )

Meta