|
Banjo API 0.0.1
C99 game development API
|

Go to the source code of this file.
Macros | |
| #define | BJ_SHADER_STANDARD_FLAGS (BJ_SHADER_INVERT_Y | BJ_SHADER_CLAMP_COLOR | BJ_SHADER_NORMALIZE_COORDS | BJ_SHADER_CENTER_COORDS) |
Typedefs | |
| typedef int(* | bj_bitmap_shading_fn) (struct bj_vec3 *out_color, const struct bj_vec2 pixel_coord, void *user_data) |
Enumerations | |
| enum | bj_shader_flag { BJ_SHADER_INVERT_X = 0x01 , BJ_SHADER_INVERT_Y = 0x02 , BJ_SHADER_CLAMP_COLOR = 0x04 , BJ_SHADER_NORMALIZE_COORDS = 0x08 , BJ_SHADER_CENTER_COORDS = 0x10 } |
Functions | |
| void | bj_shader_bitmap (struct bj_bitmap *bitmap, bj_bitmap_shading_fn shader, void *data, uint8_t flags) |
Basic shader-like bitmap manipulation.