Skip to contents

Load shader from code strings and bind default locations.

Usage

load_shader_from_memory(vs_code, fs_code)

Arguments

vs_code

A string.

fs_code

A string.

Value

A shader

Note

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

Shader LoadShaderFromMemory(const char * vsCode, const char * fsCode);

Examples

if (FALSE) {
load_shader_from_memory("text", "text")
}