Skip to content

Texture: No way to update existing texels #27

@LancePutnam

Description

@LancePutnam

Texture is currently lacking a method to update a region of existing texels. This is normally done using glTexSubImage.

On a related note, Texture::submit always calls glTexImage. The recommended practice is to configure the texels once with glTexImage and then call glTexSubImage to update them. See http://www.opengl.org/wiki/Common_Mistakes#Updating_a_texture.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions