Nevu raylib
NevuRaylib
A low-level Cython bridge for Raylib. It calls C functions directly via pointers for maximum rendering speed.
Methods
| Name | Kwargs | Description |
|---|---|---|
init_raylib_pointers |
pointers: dict |
initializes C function pointers from a dictionary of addresses. |
draw_texture_rec[_ez] |
texture, source_rec, position, [color] |
draws a part of a texture. '_ez' version uses white color by default. |
draw_texture_vec[_ez] |
texture, position: tuple, [color], flip |
draws a texture using tuple coordinates. |
draw_texture_nvvec[_ez] |
texture, position: NvVector2, [color], flip |
draws a texture using NvVector2 for position. |
draw_texture_pro |
texture, source, dest, origin, rotation, color |
advanced drawing with support for rotation and scaling. |
begin_texture_mode / end_texture_mode |
target: RenderTexture |
starts or ends rendering to the specified render texture. |
begin_blend_mode / end_blend_mode |
mode: int |
manages hardware alpha-blending modes. |
clear_background |
color: tuple |
clears the current buffer with the specified color. |
Use case
...
HelloWorld('print')
Created with GGen v1.1.0 for nevu_ui v0.7.5