[id] = gl.GetTexImageToBrush(target, level, id)
id
. If there is already a brush that uses the identifier id
, it will be
freed first. If you specify Nil
in the id
argument, gl.GetTexImageToBrush()
will automatically choose a vacant
identifier for this brush and return it to you.
See gl.GetTexImage for details.
#GL_TEXTURE_1D
or #GL_TEXTURE_2D
)Nil
for auto id selectionNil
as argument 3 (see above)