struct mrpt::opengl::texture_name_unit_t

Texture “name” and “unit”.

See also:

Texture

#include <mrpt/opengl/Texture.h>

struct texture_name_unit_t
{
    //
fields

    texture_name_t name = 0;
    texture_unit_t unit = 0;

    // construction

    texture_name_unit_t();

    texture_name_unit_t(
        texture_name_t Name,
        texture_unit_t Unit = 0
        );
};

Fields

texture_unit_t unit = 0

the “i” in GL_TEXTUREi