diff options
author | rodri <rgl@antares-labs.eu> | 2024-09-13 14:29:57 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2024-09-13 14:29:57 +0000 |
commit | eeda874d7c96703668d8ea9da2a4d22299ae4e5f (patch) | |
tree | 51a7f039ce1ecb651ca0f8d1e6eef6bab2a110a0 /graphics.h | |
parent | f89e4e8e5ddcbf7de6aa8310f11204e5e019f7cb (diff) | |
download | libgraphics-eeda874d7c96703668d8ea9da2a4d22299ae4e5f.tar.gz libgraphics-eeda874d7c96703668d8ea9da2a4d22299ae4e5f.tar.bz2 libgraphics-eeda874d7c96703668d8ea9da2a4d22299ae4e5f.zip |
turn the camera rendering options into a bitmap.
Diffstat (limited to 'graphics.h')
-rw-r--r-- | graphics.h | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -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; |