(texture)
return declaration
Return the GLSL texture declaration.
Return the GLSL texture declaration.
Return the GLSL texture declaration .
def get_texture_declaration(texture):
    """Return the GLSL texture declaration."""
    declaration = "uniform sampler%dD %s;\n" % (texture["ndim"], texture["name"])
    return declaration
def get_texture_declaration ( texture ) : declaration = "uniform sampler%dD %s;\n" % ( texture [ "ndim" ] , texture [ "name" ] ) return declaration