You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ImageLoadImageFromRES(constchar*rresName, intresId); // Load an image from rRES file (raylib Resource)
324
326
Texture2DLoadTexture(constchar*fileName); // Load an image as texture into GPU memory
325
327
Texture2DLoadTextureFromRES(constchar*rresName, intresId); // Load an image as texture from rRES file (raylib Resource)
326
-
Texture2DCreateTexture2D(Imageimage); // Create a Texture2D from Image data
328
+
Texture2DCreateTexture(Imageimage);// Create a Texture2D from Image data
327
329
voidUnloadImage(Imageimage); // Unload image from CPU memory (RAM)
328
330
voidUnloadTexture(Texture2Dtexture); // Unload texture from GPU memory
329
331
330
332
voidDrawTexture(Texture2Dtexture, intposX, intposY, Colortint); // Draw a Texture2D
333
+
voidDrawTextureV(Texture2Dtexture, Vector2position, Colortint); // Draw a Texture2D with position defined as Vector2
331
334
voidDrawTextureEx(Texture2Dtexture, Vector2position, floatrotation, floatscale, Colortint); // Draw a Texture2D with extended parameters
332
335
voidDrawTextureRec(Texture2Dtexture, RectanglesourceRec, Vector2position, Colortint); // Draw a part of a texture defined by a rectangle
333
336
voidDrawTexturePro(Texture2Dtexture, RectanglesourceRec, RectangledestRec, Vector2origin, // Draw a part of a texture defined by a rectangle with 'pro' parameters
voidDrawBillboard(Cameracamera, Texture2Dtexture, Vector3center, floatsize, Colortint); // Draw a billboard texture
382
+
voidDrawBillboardRec(Cameracamera, Texture2Dtexture, RectanglesourceRec, Vector3center, floatsize, Colortint); // Draw a billboard texture defined by sourceRec
0 commit comments