Name
gl.TexSubImageFromBrush -- specify a 1D or 2D texture subimage from brush
Synopsis
gl.TexSubImageFromBrush(level, id, xoffset[, yoffset])
Function
This command does the same as gl.TexSubImage() but fetches the pixel data from the Hollywood brush specified by id. Two-dimensional texturing will be used automatically if the brush has more than one row.

See gl.TexSubImage for details.

Inputs
level
specifies the level-of-detail number; level 0 is the base image level; level n is the nth mipmap reduction image
id
identifier of a Hollywood brush
xoffset
specifies a texel offset in the x direction within the texture array
yoffset
optional: specifies a texel offset in the y direction within the texture array; only required for 2D textures

Show TOC