| 1234567891011121314151617181920212223242526 |
- return {
- summary = 'A multidimensional block of memory on the GPU.',
- description = [[
- Textures are multidimensional blocks of memory on the GPU, contrasted with `Buffer` objects
- which are one-dimensional. Textures are used as the destination for rendering operations, and
- textures loaded from images provide surface data to `Material` objects.
- ]],
- constructors = {
- 'lovr.graphics.newTexture',
- 'Texture:newView'
- },
- sections = {
- {
- name = 'Metadata',
- tag = 'texture-metadata'
- },
- {
- name = 'Transfers',
- tag = 'texture-transfer'
- },
- {
- name = 'Texture Views',
- tag = 'texture-view'
- }
- }
- }
|