init.lua 366 B

123456789
  1. return {
  2. summary = 'An object that controls texturing and shading.',
  3. description = [[
  4. A Material is an object used to control how objects appear, through coloring, texturing, and
  5. shading. The Material itself holds sets of colors, textures, and other parameters that are made
  6. available to Shaders.
  7. ]],
  8. constructor = 'lovr.graphics.newMaterial'
  9. }