UnloadTexture
UnloadTexture (texture: ^sdl2.Texture)
Frees an SDL2 allocated texture
- texture: The texture to free
LoadEmbeddedBMP
LoadEmbeddedBMP (cxt: RenderContext, data: []byte)
Loads a BMP image from an array of bytes
- cxt: The rendering context used to create the texture
- data: The array of bytes to load
LoadEmbeddedCUR
LoadEmbeddedCUR (cxt: RenderContext, data: []byte)
Loads a CUR image from an array of bytes
- cxt: The rendering context used to create the texture
- data: The array of bytes to load
LoadEmbeddedGIF
LoadEmbeddedGIF (cxt: RenderContext, data: []byte)
Loads a GIF image from an array of bytes
- cxt: The rendering context used to create the texture
- data: The array of bytes to load
LoadEmbeddedICO
LoadEmbeddedICO (cxt: RenderContext, data: []byte)
Loads a ICO image from an array of bytes
- cxt: The rendering context used to create the texture
- data: The array of bytes to load
LoadEmbeddedJPEG
LoadEmbeddedJPEG (cxt: RenderContext, data: []byte)
Loads a JPEG image from an array of bytes
- cxt: The rendering context used to create the texture
- data: The array of bytes to load
LoadEmbeddedLBM
LoadEmbeddedLBM (cxt: RenderContext, data: []byte)
Loads a LBM image from an array of bytes
- cxt: The rendering context used to create the texture
- data: The array of bytes to load
LoadEmbeddedPCX
LoadEmbeddedPCX (cxt: RenderContext, data: []byte)
Loads a PCX image from an array of bytes
- cxt: The rendering context used to create the texture
- data: The array of bytes to load
LoadEmbeddedPNG
LoadEmbeddedPNG (cxt: RenderContext, data: []byte)
Loads a PNG image from an array of bytes
- cxt: The rendering context used to create the texture
- data: The array of bytes to load
LoadEmbeddedPNM
LoadEmbeddedPNM (cxt: RenderContext, data: []byte)
Loads a PNM image from an array of bytes
- cxt: The rendering context used to create the texture
- data: The array of bytes to load
LoadEmbeddedSVG
LoadEmbeddedSVG (cxt: RenderContext, data: string)
Loads a SVG image from an SVG code string
- cxt: The rendering context used to create the texture
- data: The string of SVG code
LoadEmbeddedTGA
LoadEmbeddedTGA (cxt: RenderContext, data: []byte)
Loads a TGA image from an array of bytes
- cxt: The rendering context used to create the texture
- data: The array of bytes to load
LoadEmbeddedXCF
LoadEmbeddedXCF (cxt: RenderContext, data: []byte)
Loads a XCF image from an array of bytes
- cxt: The rendering context used to create the texture
- data: The array of bytes to load
LoadEmbeddedXPM
LoadEmbeddedXPM (cxt: RenderContext, data: []byte)
Loads a XPM image from an array of bytes
- cxt: The rendering context used to create the texture
- data: The array of bytes to load
LoadEmbeddedXV
LoadEmbeddedXV (cxt: RenderContext, data: []byte)
Loads a XV image from an array of bytes
- cxt: The rendering context used to create the texture
- data: The array of bytes to load
LoadEmbeddedWebP
LoadEmbeddedWebP (cxt: RenderContext, data: []byte)
Loads a WebP image from an array of bytes
- cxt: The rendering context used to create the texture
- data: The array of bytes to load
LoadBMPFile
LoadBMPFile (cxt: RenderContext, file_path: cstring)
Loads a BMP image from a file
- cxt: The rendering context used to create the texture
- file_path: The path to the image file
LoadCURFile
LoadCURFile (cxt: RenderContext, file_path: cstring)
Loads a CUR image from a file
- cxt: The rendering context used to create the texture
- file_path: The path to the image file
LoadGIFFile
LoadGIFFile (cxt: RenderContext, file_path: cstring)
Loads a GIF image from a file
- cxt: The rendering context used to create the texture
- file_path: The path to the image file
LoadICOFile
LoadICOFile (cxt: RenderContext, file_path: cstring)
Loads a ICO image from a file
- cxt: The rendering context used to create the texture
- file_path: The path to the image file
LoadJPEGFile
LoadJPEGFile (cxt: RenderContext, file_path: cstring)
Loads a JPEG image from a file
- cxt: The rendering context used to create the texture
- file_path: The path to the image file
LoadLBMFile
LoadLBMFile (cxt: RenderContext, file_path: cstring)
Loads a LBM image from a file
- cxt: The rendering context used to create the texture
- file_path: The path to the image file
LoadPCXFile
LoadPCXFile (cxt: RenderContext, file_path: cstring)
Loads a PCX image from a file
- cxt: The rendering context used to create the texture
- file_path: The path to the image file
LoadPNGFile
LoadPNGFile (cxt: RenderContext, file_path: cstring)
Loads a PNG image from a file
- cxt: The rendering context used to create the texture
- file_path: The path to the image file
LoadPNMFile
LoadPNMFile (cxt: RenderContext, file_path: cstring)
Loads a PNM image from a file
- cxt: The rendering context used to create the texture
- file_path: The path to the image file
LoadSVGFile
LoadSVGFile (cxt: RenderContext, file_path: cstring)
Loads a SVG image from a file
- cxt: The rendering context used to create the texture
- file_path: The path to the image file
LoadTGAFile
LoadTGAFile (cxt: RenderContext, file_path: cstring)
Loads a TGA image from a file
- cxt: The rendering context used to create the texture
- file_path: The path to the image file
LoadXCFFile
LoadXCFFile (cxt: RenderContext, file_path: cstring)
Loads a XCF image from a file
- cxt: The rendering context used to create the texture
- file_path: The path to the image file
LoadXPMFile
LoadXPMFile (cxt: RenderContext, file_path: cstring)
Loads a XPM image from a file
- cxt: The rendering context used to create the texture
- file_path: The path to the image file
LoadXVFile
LoadXVFile (cxt: RenderContext, file_path: cstring)
Loads a XV image from a file
- cxt: The rendering context used to create the texture
- file_path: The path to the image file
LoadWebPFile
LoadWebPFile (cxt: RenderContext, file_path: cstring)
Loads a WebP image from a file
- cxt: The rendering context used to create the texture
- file_path: The path to the image file