def get_sampler_type(self, tex, can_write=False):  # pylint: disable=unused-argument
        # TODO: Add more sampler types based on texture type
        if not can_write:
            return "sampler2D"
        else:
            return "writeonly image2D"
Returns the matching GLSL sampler type for a Texture, or image type
dataset/ETHPy150Open tobspr/RenderPipeline/rpcore/stages/update_previous_pipes_stage.py/UpdatePreviousPipesStage.get_sampler_type