REVIEWED: examples: moved some examples out of others
This commit is contained in:
parent
98c7734911
commit
d40ad48326
10 changed files with 10 additions and 22 deletions
|
|
@ -729,13 +729,6 @@ AUDIO = \
|
||||||
audio/audio_spectrum_visualizer \
|
audio/audio_spectrum_visualizer \
|
||||||
audio/audio_stream_effects
|
audio/audio_stream_effects
|
||||||
|
|
||||||
OTHERS = \
|
|
||||||
others/easings_testbed \
|
|
||||||
others/embedded_files_loading \
|
|
||||||
others/raylib_opengl_interop \
|
|
||||||
others/rlgl_compute_shader \
|
|
||||||
others/rlgl_standalone \
|
|
||||||
others/web_basic_window
|
|
||||||
#EXAMPLES_LIST_END
|
#EXAMPLES_LIST_END
|
||||||
|
|
||||||
# Define processes to execute
|
# Define processes to execute
|
||||||
|
|
|
||||||
86
examples/core/core_window_web.c
Normal file
86
examples/core/core_window_web.c
Normal file
|
|
@ -0,0 +1,86 @@
|
||||||
|
/*******************************************************************************************
|
||||||
|
*
|
||||||
|
* raylib [core] example - window web
|
||||||
|
*
|
||||||
|
* Example complexity rating: [★☆☆☆] 1/4
|
||||||
|
*
|
||||||
|
* Example originally created with raylib 1.3, last time updated with raylib 5.5
|
||||||
|
*
|
||||||
|
* This example has been adapted to compile for PLATFORM_WEB and PLATFORM_DESKTOP
|
||||||
|
* As you will notice, code structure is slightly different to the other examples
|
||||||
|
*
|
||||||
|
* Example licensed under an unmodified zlib/libpng license, which is an OSI-certified,
|
||||||
|
* BSD-like license that allows static linking with closed source software
|
||||||
|
*
|
||||||
|
* Copyright (c) 2015-2025 Ramon Santamaria (@raysan5)
|
||||||
|
*
|
||||||
|
********************************************************************************************/
|
||||||
|
|
||||||
|
#include "raylib.h"
|
||||||
|
|
||||||
|
#if defined(PLATFORM_WEB)
|
||||||
|
#include <emscripten/emscripten.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------------
|
||||||
|
// Global Variables Definition
|
||||||
|
//----------------------------------------------------------------------------------
|
||||||
|
int screenWidth = 800;
|
||||||
|
int screenHeight = 450;
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------------
|
||||||
|
// Module Functions Declaration
|
||||||
|
//----------------------------------------------------------------------------------
|
||||||
|
void UpdateDrawFrame(void); // Update and Draw one frame
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------------
|
||||||
|
// Program main entry point
|
||||||
|
//----------------------------------------------------------------------------------
|
||||||
|
int main(void)
|
||||||
|
{
|
||||||
|
// Initialization
|
||||||
|
//--------------------------------------------------------------------------------------
|
||||||
|
InitWindow(screenWidth, screenHeight, "raylib [core] example - window web");
|
||||||
|
|
||||||
|
#if defined(PLATFORM_WEB)
|
||||||
|
emscripten_set_main_loop(UpdateDrawFrame, 0, 1);
|
||||||
|
#else
|
||||||
|
SetTargetFPS(60); // Set our game to run at 60 frames-per-second
|
||||||
|
//--------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
// Main game loop
|
||||||
|
while (!WindowShouldClose()) // Detect window close button or ESC key
|
||||||
|
{
|
||||||
|
UpdateDrawFrame();
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// De-Initialization
|
||||||
|
//--------------------------------------------------------------------------------------
|
||||||
|
CloseWindow(); // Close window and OpenGL context
|
||||||
|
//--------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------------
|
||||||
|
// Module Functions Definition
|
||||||
|
//----------------------------------------------------------------------------------
|
||||||
|
void UpdateDrawFrame(void)
|
||||||
|
{
|
||||||
|
// Update
|
||||||
|
//----------------------------------------------------------------------------------
|
||||||
|
// TODO: Update your variables here
|
||||||
|
//----------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
// Draw
|
||||||
|
//----------------------------------------------------------------------------------
|
||||||
|
BeginDrawing();
|
||||||
|
|
||||||
|
ClearBackground(RAYWHITE);
|
||||||
|
|
||||||
|
DrawText("Welcome to raylib web structure!", 220, 200, 20, SKYBLUE);
|
||||||
|
|
||||||
|
EndDrawing();
|
||||||
|
//----------------------------------------------------------------------------------
|
||||||
|
}
|
||||||
BIN
examples/core/core_window_web.png
Normal file
BIN
examples/core/core_window_web.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
|
|
@ -211,9 +211,3 @@ audio;audio_stream_effects;★★★★;4.2;5.0;2022;2025;"Ramon Santamaria";@ra
|
||||||
audio;audio_sound_multi;★★☆☆;5.0;5.0;2023;2025;"Jeffery Myers";@JeffM2501
|
audio;audio_sound_multi;★★☆☆;5.0;5.0;2023;2025;"Jeffery Myers";@JeffM2501
|
||||||
audio;audio_sound_positioning;★★☆☆;5.5;5.5;2025;2025;"Le Juez Victor";@Bigfoot71
|
audio;audio_sound_positioning;★★☆☆;5.5;5.5;2025;2025;"Le Juez Victor";@Bigfoot71
|
||||||
audio;audio_spectrum_visualizer;★★★☆;6.0;5.6-dev;2025;2025;"IANN";@meisei4
|
audio;audio_spectrum_visualizer;★★★☆;6.0;5.6-dev;2025;2025;"IANN";@meisei4
|
||||||
others;rlgl_standalone;★★★★;1.6;4.0;2014;2025;"Ramon Santamaria";@raysan5
|
|
||||||
others;rlgl_compute_shader;★★★★;4.0;4.0;2021;2025;"Teddy Astie";@tsnake41
|
|
||||||
others;easings_testbed;★★★☆;2.5;3.0;2019;2025;"Juan Miguel López";@flashback-fx
|
|
||||||
others;raylib_opengl_interop;★★★★;3.8;4.0;2021;2025;"Stephan Soller";@arkanis
|
|
||||||
others;embedded_files_loading;★★☆☆;3.0;3.5;2020;2025;"Kristian Holmgren";@defutura
|
|
||||||
others;web_basic_window;★☆☆☆;5.6-dev;5.6-dev;2014;2025;"Ramon Santamaria";@raysan5
|
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 10 KiB |
41
examples/shaders/resources/shaders/glsl430/gol.glsl
Normal file
41
examples/shaders/resources/shaders/glsl430/gol.glsl
Normal file
|
|
@ -0,0 +1,41 @@
|
||||||
|
#version 430
|
||||||
|
|
||||||
|
// Game of Life logic shader
|
||||||
|
|
||||||
|
#define GOL_WIDTH 768
|
||||||
|
|
||||||
|
layout (local_size_x = 16, local_size_y = 16, local_size_z = 1) in;
|
||||||
|
|
||||||
|
layout(std430, binding = 1) readonly restrict buffer golLayout {
|
||||||
|
uint golBuffer[]; // golBuffer[x, y] = golBuffer[x + gl_NumWorkGroups.x * y]
|
||||||
|
};
|
||||||
|
|
||||||
|
layout(std430, binding = 2) writeonly restrict buffer golLayout2 {
|
||||||
|
uint golBufferDest[]; // golBufferDest[x, y] = golBufferDest[x + gl_NumWorkGroups.x * y]
|
||||||
|
};
|
||||||
|
|
||||||
|
#define fetchGol(x, y) ((((x) < 0) || ((y) < 0) || ((x) > GOL_WIDTH) || ((y) > GOL_WIDTH)) \
|
||||||
|
? (0) \
|
||||||
|
: golBuffer[(x) + GOL_WIDTH * (y)])
|
||||||
|
|
||||||
|
#define setGol(x, y, value) golBufferDest[(x) + GOL_WIDTH*(y)] = value
|
||||||
|
|
||||||
|
void main()
|
||||||
|
{
|
||||||
|
uint neighbourCount = 0;
|
||||||
|
uint x = gl_GlobalInvocationID.x;
|
||||||
|
uint y = gl_GlobalInvocationID.y;
|
||||||
|
|
||||||
|
neighbourCount += fetchGol(x - 1, y - 1); // Top left
|
||||||
|
neighbourCount += fetchGol(x, y - 1); // Top middle
|
||||||
|
neighbourCount += fetchGol(x + 1, y - 1); // Top right
|
||||||
|
neighbourCount += fetchGol(x - 1, y); // Left
|
||||||
|
neighbourCount += fetchGol(x + 1, y); // Right
|
||||||
|
neighbourCount += fetchGol(x - 1, y + 1); // Bottom left
|
||||||
|
neighbourCount += fetchGol(x, y + 1); // Bottom middle
|
||||||
|
neighbourCount += fetchGol(x + 1, y + 1); // Bottom right
|
||||||
|
|
||||||
|
if (neighbourCount == 3) setGol(x, y, 1);
|
||||||
|
else if (neighbourCount == 2) setGol(x, y, fetchGol(x, y));
|
||||||
|
else setGol(x, y, 0);
|
||||||
|
}
|
||||||
29
examples/shaders/resources/shaders/glsl430/gol_render.glsl
Normal file
29
examples/shaders/resources/shaders/glsl430/gol_render.glsl
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
#version 430
|
||||||
|
|
||||||
|
// Game of Life rendering shader
|
||||||
|
// Just renders the content of the ssbo at binding 1 to screen
|
||||||
|
|
||||||
|
#define GOL_WIDTH 768
|
||||||
|
|
||||||
|
// Input vertex attributes (from vertex shader)
|
||||||
|
in vec2 fragTexCoord;
|
||||||
|
|
||||||
|
// Output fragment color
|
||||||
|
out vec4 finalColor;
|
||||||
|
|
||||||
|
// Input game of life grid.
|
||||||
|
layout(std430, binding = 1) readonly buffer golLayout
|
||||||
|
{
|
||||||
|
uint golBuffer[];
|
||||||
|
};
|
||||||
|
|
||||||
|
// Output resolution
|
||||||
|
uniform vec2 resolution;
|
||||||
|
|
||||||
|
void main()
|
||||||
|
{
|
||||||
|
ivec2 coords = ivec2(fragTexCoord*resolution);
|
||||||
|
|
||||||
|
if ((golBuffer[coords.x + coords.y*uvec2(resolution).x]) == 1) finalColor = vec4(1.0);
|
||||||
|
else finalColor = vec4(0.0, 0.0, 0.0, 1.0);
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,51 @@
|
||||||
|
#version 430
|
||||||
|
|
||||||
|
// Game of life transfert shader
|
||||||
|
|
||||||
|
#define GOL_WIDTH 768
|
||||||
|
|
||||||
|
// Game Of Life Update Command
|
||||||
|
// NOTE: matches the structure defined on main program
|
||||||
|
struct GolUpdateCmd {
|
||||||
|
uint x; // x coordinate of the gol command
|
||||||
|
uint y; // y coordinate of the gol command
|
||||||
|
uint w; // width of the filled zone
|
||||||
|
uint enabled; // whether to enable or disable zone
|
||||||
|
};
|
||||||
|
|
||||||
|
// Local compute unit size
|
||||||
|
layout (local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
|
||||||
|
|
||||||
|
// Output game of life grid buffer
|
||||||
|
layout(std430, binding = 1) buffer golBufferLayout
|
||||||
|
{
|
||||||
|
uint golBuffer[]; // golBuffer[x, y] = golBuffer[x + GOL_WIDTH * y]
|
||||||
|
};
|
||||||
|
|
||||||
|
// Command buffer
|
||||||
|
layout(std430, binding = 3) readonly restrict buffer golUpdateLayout
|
||||||
|
{
|
||||||
|
uint count;
|
||||||
|
GolUpdateCmd commands[];
|
||||||
|
};
|
||||||
|
|
||||||
|
#define isInside(x, y) (((x) >= 0) && ((y) >= 0) && ((x) < GOL_WIDTH) && ((y) < GOL_WIDTH))
|
||||||
|
#define getBufferIndex(x, y) ((x) + GOL_WIDTH * (y))
|
||||||
|
|
||||||
|
void main()
|
||||||
|
{
|
||||||
|
uint cmdIndex = gl_GlobalInvocationID.x;
|
||||||
|
GolUpdateCmd cmd = commands[cmdIndex];
|
||||||
|
|
||||||
|
for (uint x = cmd.x; x < (cmd.x + cmd.w); x++)
|
||||||
|
{
|
||||||
|
for (uint y = cmd.y; y < (cmd.y + cmd.w); y++)
|
||||||
|
{
|
||||||
|
if (isInside(x, y))
|
||||||
|
{
|
||||||
|
if (cmd.enabled != 0) atomicOr(golBuffer[getBufferIndex(x, y)], 1);
|
||||||
|
else atomicAnd(golBuffer[getBufferIndex(x, y)], 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
183
examples/shaders/shaders_rlgl_compute.c
Normal file
183
examples/shaders/shaders_rlgl_compute.c
Normal file
|
|
@ -0,0 +1,183 @@
|
||||||
|
/*******************************************************************************************
|
||||||
|
*
|
||||||
|
* raylib [others] example - compute shader
|
||||||
|
*
|
||||||
|
* WARNING: This example requires raylib compiled with OpenGL 4.3 version for
|
||||||
|
* compute shaders support, shaders used in this example are #version 430
|
||||||
|
*
|
||||||
|
* Example complexity rating: [★★★★] 4/4
|
||||||
|
*
|
||||||
|
* Example originally created with raylib 4.0, last time updated with raylib 4.0
|
||||||
|
*
|
||||||
|
* Example contributed by Teddy Astie (@tsnake41) and reviewed by Ramon Santamaria (@raysan5)
|
||||||
|
*
|
||||||
|
* Example licensed under an unmodified zlib/libpng license, which is an OSI-certified,
|
||||||
|
* BSD-like license that allows static linking with closed source software
|
||||||
|
*
|
||||||
|
* Copyright (c) 2021-2025 Teddy Astie (@tsnake41)
|
||||||
|
*
|
||||||
|
********************************************************************************************/
|
||||||
|
|
||||||
|
#include "raylib.h"
|
||||||
|
|
||||||
|
#include "rlgl.h"
|
||||||
|
|
||||||
|
#include <stdlib.h> // Required for: NULL
|
||||||
|
|
||||||
|
// IMPORTANT: This must match gol*.glsl GOL_WIDTH constant
|
||||||
|
// This must be a multiple of 16 (check golLogic compute dispatch)
|
||||||
|
#define GOL_WIDTH 768
|
||||||
|
|
||||||
|
// Maximum amount of queued draw commands (squares draw from mouse down events)
|
||||||
|
#define MAX_BUFFERED_TRANSFERTS 48
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------------
|
||||||
|
// Types and Structures Definition
|
||||||
|
//----------------------------------------------------------------------------------
|
||||||
|
// Game Of Life Update Command
|
||||||
|
typedef struct GolUpdateCmd {
|
||||||
|
unsigned int x; // x coordinate of the gol command
|
||||||
|
unsigned int y; // y coordinate of the gol command
|
||||||
|
unsigned int w; // width of the filled zone
|
||||||
|
unsigned int enabled; // whether to enable or disable zone
|
||||||
|
} GolUpdateCmd;
|
||||||
|
|
||||||
|
// Game Of Life Update Commands SSBO
|
||||||
|
typedef struct GolUpdateSSBO {
|
||||||
|
unsigned int count;
|
||||||
|
GolUpdateCmd commands[MAX_BUFFERED_TRANSFERTS];
|
||||||
|
} GolUpdateSSBO;
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------------
|
||||||
|
// Program main entry point
|
||||||
|
//------------------------------------------------------------------------------------
|
||||||
|
int main(void)
|
||||||
|
{
|
||||||
|
// Initialization
|
||||||
|
//--------------------------------------------------------------------------------------
|
||||||
|
const int screenWidth = GOL_WIDTH;
|
||||||
|
const int screenHeight = GOL_WIDTH;
|
||||||
|
|
||||||
|
InitWindow(screenWidth, screenHeight, "raylib [others] example - compute shader");
|
||||||
|
|
||||||
|
const Vector2 resolution = { (float)screenWidth, (float)screenHeight };
|
||||||
|
unsigned int brushSize = 8;
|
||||||
|
|
||||||
|
// Game of Life logic compute shader
|
||||||
|
char *golLogicCode = LoadFileText("resources/shaders/glsl430/gol.glsl");
|
||||||
|
unsigned int golLogicShader = rlCompileShader(golLogicCode, RL_COMPUTE_SHADER);
|
||||||
|
unsigned int golLogicProgram = rlLoadComputeShaderProgram(golLogicShader);
|
||||||
|
UnloadFileText(golLogicCode);
|
||||||
|
|
||||||
|
// Game of Life logic render shader
|
||||||
|
Shader golRenderShader = LoadShader(NULL, "resources/shaders/glsl430/gol_render.glsl");
|
||||||
|
int resUniformLoc = GetShaderLocation(golRenderShader, "resolution");
|
||||||
|
|
||||||
|
// Game of Life transfert shader (CPU<->GPU download and upload)
|
||||||
|
char *golTransfertCode = LoadFileText("resources/shaders/glsl430/gol_transfert.glsl");
|
||||||
|
unsigned int golTransfertShader = rlCompileShader(golTransfertCode, RL_COMPUTE_SHADER);
|
||||||
|
unsigned int golTransfertProgram = rlLoadComputeShaderProgram(golTransfertShader);
|
||||||
|
UnloadFileText(golTransfertCode);
|
||||||
|
|
||||||
|
// Load shader storage buffer object (SSBO), id returned
|
||||||
|
unsigned int ssboA = rlLoadShaderBuffer(GOL_WIDTH*GOL_WIDTH*sizeof(unsigned int), NULL, RL_DYNAMIC_COPY);
|
||||||
|
unsigned int ssboB = rlLoadShaderBuffer(GOL_WIDTH*GOL_WIDTH*sizeof(unsigned int), NULL, RL_DYNAMIC_COPY);
|
||||||
|
unsigned int ssboTransfert = rlLoadShaderBuffer(sizeof(GolUpdateSSBO), NULL, RL_DYNAMIC_COPY);
|
||||||
|
|
||||||
|
GolUpdateSSBO transfertBuffer = { 0 };
|
||||||
|
|
||||||
|
// Create a white texture of the size of the window to update
|
||||||
|
// each pixel of the window using the fragment shader: golRenderShader
|
||||||
|
Image whiteImage = GenImageColor(GOL_WIDTH, GOL_WIDTH, WHITE);
|
||||||
|
Texture whiteTex = LoadTextureFromImage(whiteImage);
|
||||||
|
UnloadImage(whiteImage);
|
||||||
|
//--------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
// Main game loop
|
||||||
|
while (!WindowShouldClose())
|
||||||
|
{
|
||||||
|
// Update
|
||||||
|
//----------------------------------------------------------------------------------
|
||||||
|
brushSize += (int)GetMouseWheelMove();
|
||||||
|
|
||||||
|
if ((IsMouseButtonDown(MOUSE_BUTTON_LEFT) || IsMouseButtonDown(MOUSE_BUTTON_RIGHT))
|
||||||
|
&& (transfertBuffer.count < MAX_BUFFERED_TRANSFERTS))
|
||||||
|
{
|
||||||
|
// Buffer a new command
|
||||||
|
transfertBuffer.commands[transfertBuffer.count].x = GetMouseX() - brushSize/2;
|
||||||
|
transfertBuffer.commands[transfertBuffer.count].y = GetMouseY() - brushSize/2;
|
||||||
|
transfertBuffer.commands[transfertBuffer.count].w = brushSize;
|
||||||
|
transfertBuffer.commands[transfertBuffer.count].enabled = IsMouseButtonDown(MOUSE_BUTTON_LEFT);
|
||||||
|
transfertBuffer.count++;
|
||||||
|
}
|
||||||
|
else if (transfertBuffer.count > 0) // Process transfert buffer
|
||||||
|
{
|
||||||
|
// Send SSBO buffer to GPU
|
||||||
|
rlUpdateShaderBuffer(ssboTransfert, &transfertBuffer, sizeof(GolUpdateSSBO), 0);
|
||||||
|
|
||||||
|
// Process SSBO commands on GPU
|
||||||
|
rlEnableShader(golTransfertProgram);
|
||||||
|
rlBindShaderBuffer(ssboA, 1);
|
||||||
|
rlBindShaderBuffer(ssboTransfert, 3);
|
||||||
|
rlComputeShaderDispatch(transfertBuffer.count, 1, 1); // Each GPU unit will process a command!
|
||||||
|
rlDisableShader();
|
||||||
|
|
||||||
|
transfertBuffer.count = 0;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// Process game of life logic
|
||||||
|
rlEnableShader(golLogicProgram);
|
||||||
|
rlBindShaderBuffer(ssboA, 1);
|
||||||
|
rlBindShaderBuffer(ssboB, 2);
|
||||||
|
rlComputeShaderDispatch(GOL_WIDTH/16, GOL_WIDTH/16, 1);
|
||||||
|
rlDisableShader();
|
||||||
|
|
||||||
|
// ssboA <-> ssboB
|
||||||
|
int temp = ssboA;
|
||||||
|
ssboA = ssboB;
|
||||||
|
ssboB = temp;
|
||||||
|
}
|
||||||
|
|
||||||
|
rlBindShaderBuffer(ssboA, 1);
|
||||||
|
SetShaderValue(golRenderShader, resUniformLoc, &resolution, SHADER_UNIFORM_VEC2);
|
||||||
|
//----------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
// Draw
|
||||||
|
//----------------------------------------------------------------------------------
|
||||||
|
BeginDrawing();
|
||||||
|
|
||||||
|
ClearBackground(BLANK);
|
||||||
|
|
||||||
|
BeginShaderMode(golRenderShader);
|
||||||
|
DrawTexture(whiteTex, 0, 0, WHITE);
|
||||||
|
EndShaderMode();
|
||||||
|
|
||||||
|
DrawRectangleLines(GetMouseX() - brushSize/2, GetMouseY() - brushSize/2, brushSize, brushSize, RED);
|
||||||
|
|
||||||
|
DrawText("Use Mouse wheel to increase/decrease brush size", 10, 10, 20, WHITE);
|
||||||
|
DrawFPS(GetScreenWidth() - 100, 10);
|
||||||
|
|
||||||
|
EndDrawing();
|
||||||
|
//----------------------------------------------------------------------------------
|
||||||
|
}
|
||||||
|
|
||||||
|
// De-Initialization
|
||||||
|
//--------------------------------------------------------------------------------------
|
||||||
|
// Unload shader buffers objects
|
||||||
|
rlUnloadShaderBuffer(ssboA);
|
||||||
|
rlUnloadShaderBuffer(ssboB);
|
||||||
|
rlUnloadShaderBuffer(ssboTransfert);
|
||||||
|
|
||||||
|
// Unload compute shader programs
|
||||||
|
rlUnloadShaderProgram(golTransfertProgram);
|
||||||
|
rlUnloadShaderProgram(golLogicProgram);
|
||||||
|
|
||||||
|
UnloadTexture(whiteTex); // Unload white texture
|
||||||
|
UnloadShader(golRenderShader); // Unload rendering fragment shader
|
||||||
|
|
||||||
|
CloseWindow(); // Close window and OpenGL context
|
||||||
|
//--------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
BIN
examples/shaders/shaders_rlgl_compute.png
Normal file
BIN
examples/shaders/shaders_rlgl_compute.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 43 KiB |
Loading…
Reference in a new issue