#pragma once

/* Image loading functions. */
int ltexturesLoadImage( lua_State *L );
int ltexturesLoadImageRaw( lua_State *L );
int ltexturesLoadImageSvg( lua_State *L );
int ltexturesLoadImageAnim( lua_State *L );
int ltexturesLoadImageFromMemory( lua_State *L );
int ltexturesLoadImageFromTexture( lua_State *L );
int ltexturesLoadImageFromScreen( lua_State *L );
int ltextureIsImageReady( lua_State *L );
int ltextureUnloadImage( lua_State *L );
int ltexturesExportImage( lua_State *L );
int ltexturesExportImageToMemory( lua_State *L );
int ltexturesExportImageAsCode( lua_State *L );
/* Image generation functions. */
int ltexturesGenImageColor( lua_State *L );
int ltexturesGenImageGradientLinear( lua_State *L );
int ltexturesGenImageGradientRadial( lua_State *L );
int ltexturesGenImageGradientSquare( lua_State *L );
int ltexturesGenImageChecked( lua_State *L );
int ltexturesGenImageWhiteNoise( lua_State *L );
int ltexturesGenImagePerlinNoise( lua_State *L );
int ltexturesGenImageCellular( lua_State *L );
int ltexturesGenImageText( lua_State *L );
/* Image manipulation functions. */
int ltexturesImageCopy( lua_State *L );
int ltexturesImageFromImage( lua_State *L );
int ltexturesImageText( lua_State *L );
int ltexturesImageFormat( lua_State *L );
int ltexturesImageToPOT( lua_State *L );
int ltexturesImageCrop( lua_State *L );
int ltexturesImageAlphaCrop( lua_State *L );
int ltexturesImageAlphaClear( lua_State *L );
int ltexturesImageAlphaMask( lua_State *L );
int ltexturesImageAlphaPremultiply( lua_State *L );
int ltexturesImageBlurGaussian( lua_State *L );
int ltexturesImageResize( lua_State *L );
int ltexturesImageResizeNN( lua_State *L );
int ltexturesImageResizeCanvas( lua_State *L );
int ltexturesImageMipmaps( lua_State *L );
int ltexturesImageDither( lua_State *L );
int ltexturesImageFlipVertical( lua_State *L );
int ltexturesImageFlipHorizontal( lua_State *L );
int ltexturesImageRotate( lua_State *L );
int ltexturesImageRotateCW( lua_State *L );
int ltexturesImageRotateCCW( lua_State *L );
int ltexturesImageColorTint( lua_State *L );
int ltexturesImageColorInvert( lua_State *L );
int ltexturesImageColorGrayscale( lua_State *L );
int ltexturesImageColorContrast( lua_State *L );
int ltexturesImageColorBrightness( lua_State *L );
int ltexturesImageColorReplace( lua_State *L );
int ltexturesLoadImageColors( lua_State *L );
int ltexturesLoadImagePalette( lua_State *L );
int ltexturesGetImageAlphaBorder( lua_State *L );
int ltexturesGetImageColor( lua_State *L );
/* Image configuration functions. */
int ltexturesGetImageSize( lua_State *L );
int ltexturesGetImageMipmaps( lua_State *L );
int ltexturesGetImageFormat( lua_State *L );
/* Image drawing functions. */
int ltexturesImageClearBackground( lua_State *L );
int ltexturesImageDrawPixel( lua_State *L );
int ltexturesImageDrawLine( lua_State *L );
int ltexturesImageDrawCircle( lua_State *L );
int ltexturesImageDrawCircleLines( lua_State *L );
int ltexturesImageDrawRectangle( lua_State *L );
int ltexturesImageDrawRectangleLines( lua_State *L );
int ltexturesImageDraw( lua_State *L );
int ltexturesImageDrawTextEx( lua_State *L );
/* Texture loading functions. */
int ltexturesLoadTexture( lua_State *L );
int ltexturesLoadTextureFromImage( lua_State *L );
int ltexturesLoadTextureCubemap( lua_State *L );
int ltexturesLoadTextureFromData( lua_State *L );
int ltexturesLoadRenderTexture( lua_State *L );
int ltexturesLoadRenderTextureFromData( lua_State *L );
int ltexturesIsTextureReady( lua_State *L );
int ltextureUnloadTexture( lua_State *L );
int ltexturesIsRenderTextureReady( lua_State *L );
int ltextureUnloadRenderTexture( lua_State *L );
int ltexturesUpdateTexture( lua_State *L );
int ltexturesUpdateTextureRec( lua_State *L );
/* Texture configuration functions. */
int ltexturesGenTextureMipmaps( lua_State *L );
int ltexturesSetTextureFilter( lua_State *L );
int ltexturesSetTextureWrap( lua_State *L );
int ltexturesGetTextureId( lua_State *L );
int ltexturesGetTextureSize( lua_State *L );
int ltexturesGetTextureMipmaps( lua_State *L );
int ltexturesGetTextureFormat( lua_State *L );
/* Texture drawing functions. */
int ltexturesDrawTexture( lua_State *L );
int ltexturesDrawTextureRec( lua_State *L );
int ltexturesDrawTexturePro( lua_State *L );
int ltexturesDrawTextureNPatch( lua_State *L );
/* RenderTexture configuration functions. */
int ltexturesGetRenderTextureId( lua_State *L );
int ltexturesGetRenderTextureTexture( lua_State *L );
int ltexturesGetRenderTextureDepthTexture( lua_State *L );
/* Color/pixel related functions. */
int ltexturesFade( lua_State *L );
int ltexturesColorToInt( lua_State *L );
int ltexturesColorNormalize( lua_State *L );
int ltexturesColorFromNormalized( lua_State *L );
int ltexturesColorToHSV( lua_State *L );
int ltexturesColorFromHSV( lua_State *L );
int ltexturesColorTint( lua_State *L );
int ltexturesColorBrightness( lua_State *L );
int ltexturesColorContrast( lua_State *L );
int ltexturesColorAlpha( lua_State *L );
int ltexturesColorAlphaBlend( lua_State *L );
int ltexturesGetColor( lua_State *L );
int ltexturesGetPixelColor( lua_State *L );
int ltexturesGetPixelDataSize( lua_State *L );
