create_texture_unit method

create_texture_unit(self)

Create a 2D texture unit that can be accessed by shader.

Returns


def create_texture_unit(self):
    ...

create_texture_unit(self, texture_type)

Create a texture unit that can be accessed by shader.

Returns


def create_texture_unit(self, texture_type):
    ...
ParameterTypeDescription
texture_typeTextureTypeType of the texture

See Also