summaryrefslogtreecommitdiff
path: root/graphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics.h')
-rw-r--r--graphics.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/graphics.h b/graphics.h
index 39af008..bc18069 100644
--- a/graphics.h
+++ b/graphics.h
@@ -13,6 +13,11 @@ enum {
CullFront,
CullBack,
+ /* render options */
+ ROBlend = 0x01,
+ RODepth = 0x02,
+ ROAbuff = 0x04,
+
/* primitive types */
PPoint = 0,
PLine,
@@ -27,7 +32,7 @@ enum {
COLOR32 = 0, /* RGBA32 */
FLOAT32, /* F32 */
- /* texture formats */
+ /* texture types */
RAWTexture = 0, /* unmanaged */
sRGBTexture,
@@ -351,9 +356,7 @@ struct Camera
Matrix3 proj; /* VCS to clip space xform */
Projection projtype;
int cullmode;
- int enableblend;
- int enabledepth;
- int enableAbuff;
+ uint rendopts;
struct {
uvlong min, avg, max, acc, n, v;