Render state

From ENIGMA

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
This article is an overview of render state/mode related constants.
This article is an overview of render state/mode related constants.
-
== Render modes ==
+
{| class="wikitable" cellpadding=5 cellspacing=0 align=left border=0 style="background-color:#FAD796; border: 2px; border-style: solid; border-color:gray; {{box-shadow|0.1em|0.1em|1em|rgba(0,0,0,0.75)}};"
-
{| class="wikitable" cellpadding=5 cellspacing=0 border=0 style="background-color:#FAD796; border: 2px; border-style: solid; border-color:gray;"
+
|- cellpadding=5 cellspacing=0 border=0 style="background-color:black; color:white;"  
|- cellpadding=5 cellspacing=0 border=0 style="background-color:black; color:white;"  
| '''Constant'''  
| '''Constant'''  
Line 17: Line 16:
|}<br>
|}<br>
-
== Face modes ==
+
{| class="wikitable" cellpadding=5 cellspacing=0 align=left border=0 style="background-color:#FAD796; border: 2px; border-style: solid; border-color:gray; {{box-shadow|0.1em|0.1em|1em|rgba(0,0,0,0.75)}};"
-
{| class="wikitable" cellpadding=5 cellspacing=0 border=0 style="background-color:#FAD796; border: 2px; border-style: solid; border-color:gray;"
+
|- cellpadding=5 cellspacing=0 border=0 style="background-color:black; color:white;"  
|- cellpadding=5 cellspacing=0 border=0 style="background-color:black; color:white;"  
| '''Constant'''  
| '''Constant'''  
Line 33: Line 31:
|}
|}
-
== Orientations ==
+
{| class="wikitable" cellpadding=5 cellspacing=0 align=left border=0 style="background-color:#FAD796; border: 2px; border-style: solid; border-color:gray; {{box-shadow|0.1em|0.1em|1em|rgba(0,0,0,0.75)}};"
-
{| class="wikitable" cellpadding=5 cellspacing=0 border=0 style="background-color:#FAD796; border: 2px; border-style: solid; border-color:gray;"
+
|- cellpadding=5 cellspacing=0 border=0 style="background-color:black; color:white;"  
|- cellpadding=5 cellspacing=0 border=0 style="background-color:black; color:white;"  
| '''Constant'''  
| '''Constant'''  
Line 46: Line 43:
|}
|}
-
== Quality Hints ==
+
{| class="wikitable" cellpadding=5 cellspacing=0 align=left border=0 style="background-color:#FAD796; border: 2px; border-style: solid; border-color:gray; {{box-shadow|0.1em|0.1em|1em|rgba(0,0,0,0.75)}};"
-
{| class="wikitable" cellpadding=5 cellspacing=0 border=0 style="background-color:#FAD796; border: 2px; border-style: solid; border-color:gray;"
+
|- cellpadding=5 cellspacing=0 border=0 style="background-color:black; color:white;"  
|- cellpadding=5 cellspacing=0 border=0 style="background-color:black; color:white;"  
| '''Constant'''  
| '''Constant'''  
Line 62: Line 58:
|}
|}
-
== Fog Mode ==
+
{| class="wikitable" cellpadding=5 cellspacing=0 align=left border=0 style="background-color:#FAD796; border: 2px; border-style: solid; border-color:gray; {{box-shadow|0.1em|0.1em|1em|rgba(0,0,0,0.75)}};"
-
{| class="wikitable" cellpadding=5 cellspacing=0 border=0 style="background-color:#FAD796; border: 2px; border-style: solid; border-color:gray;"
+
|- cellpadding=5 cellspacing=0 border=0 style="background-color:black; color:white;"  
|- cellpadding=5 cellspacing=0 border=0 style="background-color:black; color:white;"  
| '''Constant'''  
| '''Constant'''  
Line 78: Line 73:
|}
|}
-
== Operators ==
+
{| class="wikitable" cellpadding=5 cellspacing=0 align=left border=0 style="background-color:#FAD796; border: 2px; border-style: solid; border-color:gray; {{box-shadow|0.1em|0.1em|1em|rgba(0,0,0,0.75)}};"
-
{| class="wikitable" cellpadding=5 cellspacing=0 border=0 style="background-color:#FAD796; border: 2px; border-style: solid; border-color:gray;"
+
|- cellpadding=5 cellspacing=0 border=0 style="background-color:black; color:white;"  
|- cellpadding=5 cellspacing=0 border=0 style="background-color:black; color:white;"  
| '''Constant'''  
| '''Constant'''  

Revision as of 18:16, 19 April 2013

This article is an overview of render state/mode related constants.

Constant Description
rs_fill Fill the entire shape.
rs_line Only draw the edges of each face.
rs_point Only draw each vertex as a single point.

Constant Description
rs_front front faces, defined by orientation
rs_back back faces, defined by orientation
rs_front_back front and back faces
Constant Description
rs_clockwise clockwise face culling
rs_counterclockwise counter-clockwise face culling
Constant Description
rs_nicest nicest looking
rs_fastest fastest to render
rs_dontcare does not matter which
Constant Description
rs_exp exponential fog
rs_exp2 exponential fog 2
rs_linear linear fog
Constant Description
rs_never Always False
rs_less source Z < depth Z
rs_equal source Z = depth Z
rs_lequal source Z <= depth Z
rs_greater source Z > depth Z
rs_notequal source Z != depth Z
rs_gequal source Z >= depth Z
rs_always Always True
Personal tools
Namespaces
Variants
Actions
Navigation
ENIGMA
Other
Toolbox