Skip to content

Commit

Permalink
Populate some additional information in love.graphics functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikuAuahDark committed Dec 28, 2024
1 parent 4244742 commit a8fc973
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions modules/graphics/Graphics.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1775,6 +1775,7 @@ return {
type = 'table',
name = 'slices',
description = 'A table containing filepaths to images (or File, FileData, ImageData, or CompressedImageData objects), in an array. Each sub-image must have the same dimensions. A table of tables can also be given, where each sub-table contains all mipmap levels for the slice index of that sub-table.',
arraytype = 'table or string or File or FileData or ImageData or CompressedImageData'
},
{
type = 'table',
Expand Down Expand Up @@ -1864,6 +1865,7 @@ return {
type = 'table',
name = 'settings',
description = 'A table containing the given fields:',
default = 'nil',
table = {
{
type = 'TextureType',
Expand Down Expand Up @@ -1933,6 +1935,7 @@ return {
type = 'table',
name = 'settings',
description = 'A table containing the given fields:',
default = 'nil',
table = {
{
type = 'TextureType',
Expand All @@ -1950,6 +1953,7 @@ return {
type = 'boolean',
name = 'readable',
description = 'Whether the Canvas is readable (drawable and accessible in a Shader). True by default for regular formats, false by default for depth/stencil formats.',
default = 'nil',
},
{
type = 'number',
Expand Down Expand Up @@ -2186,6 +2190,7 @@ return {
type = 'table',
name = 'settings',
description = 'A table containing the following fields:',
default = 'nil',
table = {
{
type = 'number',
Expand Down Expand Up @@ -2227,6 +2232,7 @@ return {
type = 'table',
name = 'settings',
description = 'A table containing the following fields:',
default = 'nil',
table = {
{
type = 'number',
Expand Down Expand Up @@ -2268,6 +2274,7 @@ return {
type = 'table',
name = 'settings',
description = 'A table containing the following fields:',
default = 'nil',
table = {
{
type = 'number',
Expand Down Expand Up @@ -2309,6 +2316,7 @@ return {
type = 'table',
name = 'settings',
description = 'A table containing the following fields:',
default = 'nil',
table = {
{
type = 'number',
Expand Down Expand Up @@ -3045,6 +3053,7 @@ return {
type = 'table',
name = 'settings',
description = 'A table containing the following fields:',
default = 'nil',
table = {
{
type = 'boolean',
Expand Down Expand Up @@ -3126,6 +3135,7 @@ return {
type = 'table',
name = 'layers',
description = 'A table containing filepaths to images (or File, FileData, ImageData, or CompressedImageData objects), in an array. A table of tables can also be given, where each sub-table represents a single mipmap level and contains all layers for that mipmap.',
arraytype = 'table or string or File or FileData or ImageData or CompressedImageData',
},
{
type = 'table',
Expand Down

0 comments on commit a8fc973

Please sign in to comment.