Color member functions
This commit is contained in:
parent
2578dceb42
commit
9e908b3925
6 changed files with 92 additions and 4 deletions
|
|
@ -14,7 +14,7 @@ pub fn main() anyerror!void {
|
|||
|
||||
rl.initWindow(screenWidth, screenHeight, "raylib [shaders] example - Apply an outline to a texture");
|
||||
|
||||
const texture: rl.Texture2D = rl.loadTexture("resources/textures/fudesumi.png");
|
||||
const texture: rl.Texture = rl.Texture.init("resources/textures/fudesumi.png");
|
||||
|
||||
const shdrOutline: rl.Shader = rl.loadShader(null, "resources/shaders/glsl330/outline.fs");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue