Skip to contents

Load texture from file into GPU memory (VRAM).

Usage

load_texture(file_name)

Arguments

file_name

A string.

Value

A texture

Note

This function has been auto-generated from the following Raylib function definition:

Texture2D LoadTexture(const char * fileName);

Examples

if (FALSE) {
load_texture("file.png")
}