Reviewed some comments

This commit is contained in:
Ray 2018-12-03 11:24:11 +01:00
parent 5086c60e2f
commit f552d43547

View file

@ -729,9 +729,9 @@ typedef enum {
// Texture parameters: wrap mode
typedef enum {
WRAP_REPEAT = 0,
WRAP_CLAMP,
WRAP_MIRROR
WRAP_REPEAT = 0, // Repeats texture in tiled mode
WRAP_CLAMP, // Clamps texture to edge pixel in tiled mode
WRAP_MIRROR // Mirrors the texture in tiled mode
} TextureWrapMode;
// Font type, defines generation method
@ -743,9 +743,9 @@ typedef enum {
// Color blending modes (pre-defined)
typedef enum {
BLEND_ALPHA = 0,
BLEND_ADDITIVE,
BLEND_MULTIPLIED
BLEND_ALPHA = 0, // Blend textures considering alpha (default)
BLEND_ADDITIVE, // Blend textures adding colors
BLEND_MULTIPLIED // Blend textures multiplying colors
} BlendMode;
// Gestures type
@ -791,9 +791,9 @@ typedef enum {
// Type of n-patch
typedef enum {
NPT_9PATCH = 0, // 3x3
NPT_3PATCH_VERTICAL, // 1x3
NPT_3PATCH_HORIZONTAL // 3x1
NPT_9PATCH = 0, // Npatch defined by 3x3 tiles
NPT_3PATCH_VERTICAL, // Npatch defined by 1x3 tiles
NPT_3PATCH_HORIZONTAL // Npatch defined by 3x1 tiles
} NPatchType;
// Callbacks to be implemented by users