diff options
author | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-04 04:15:21 +0000 |
---|---|---|
committer | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-04 04:15:21 +0000 |
commit | e2eac863ff01de3913e04ec1a5a97be0dbcfc730 (patch) | |
tree | caac59bef2cd6f6e8bd8c95b4fd7eac82770ef25 /o3d/plugin | |
parent | ffc2db73676192bb40845d1742374fc1c9f3c57b (diff) | |
download | chromium_src-e2eac863ff01de3913e04ec1a5a97be0dbcfc730.zip chromium_src-e2eac863ff01de3913e04ec1a5a97be0dbcfc730.tar.gz chromium_src-e2eac863ff01de3913e04ec1a5a97be0dbcfc730.tar.bz2 |
Minor docs fix
Review URL: http://codereview.chromium.org/460065
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33790 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/plugin')
-rw-r--r-- | o3d/plugin/idl/state.idl | 113 |
1 files changed, 57 insertions, 56 deletions
diff --git a/o3d/plugin/idl/state.idl b/o3d/plugin/idl/state.idl index af58559..230b462 100644 --- a/o3d/plugin/idl/state.idl +++ b/o3d/plugin/idl/state.idl @@ -175,92 +175,93 @@ namespace o3d { Valid states: <table> <tr><td>State Name</td><td>Type</td><td>Default Value</td></tr> - <tr><td>o3d.AlphaTestEnable</td><td>ParamBoolean</td> + <tr><td>o3d.AlphaBlendEnable</td><td>ParamBoolean</td> <td>default = false</td></tr> - <tr><td>o3d.AlphaReference</td><td>ParamFloat 0-1</td> - <td>default = 0</td></tr> <tr><td>o3d.AlphaComparisonFunction</td><td>ParamInteger, State.Comparison</td><td>default = State.CMP_ALWAYS</td></tr> + <tr><td>o3d.AlphaReference</td><td>ParamFloat 0-1</td> + <td>default = 0</td></tr> + <tr><td>o3d.AlphaTestEnable</td><td>ParamBoolean</td> + <td>default = false</td></tr> + <tr><td>o3d.BlendAlphaEquation</td> + <td>ParamInteger, State.BlendingEquation</td> + <td>default = State.BLEND_ADD</td></tr> + <tr><td>o3d.BlendEquation</td> + <td>ParamInteger, State.BlendingEquation</td> + <td>default = State.BLEND_ADD</td></tr> + <tr><td>o3d.CCWStencilComparisonFunction</td> + <td>ParamInteger, State.Comparison</td> + <td>default = State.CMP_ALWAYS</td></tr> + <tr><td>o3d.CCWStencilFailOperation</td> + <td>ParamInteger, State.StencilOperation</td> + <td>default = State.STENCIL_KEEP</td></tr> + <tr><td>o3d.CCWStencilPassOperation</td> + <td>ParamInteger, State.StencilOperation</td> + <td>default = State.STENCIL_KEEP</td></tr> + <tr><td>o3d.CCWStencilZFailOperation</td> + <td>ParamInteger, State.StencilOperation</td> + <td>default = State.STENCIL_KEEP</td></tr> + <tr><td>o3d.ColorWriteEnable</td> + <td>ParamInteger 0-15 bit 0 = red, bit 1 = green, + bit 2 = blue, bit 3 = alpha</td><td>default = 15</td></tr> <tr><td>o3d.CullMode</td><td>ParamInteger, State.Cull</td> <td>default = State.CULL_CW</td></tr> + <tr><td>o3d.DestinationBlendAlphaFunction</td> + <td>ParamInteger, State.BlendingFunction</td> + <td>default = State.BLENDFUNC_ZERO</td></tr> + <tr><td>o3d.DestinationBlendFunction</td> + <td>ParamInteger, State.BlendingFunction</td> + <td>default = State.BLENDFUNC_ZERO</td></tr> <tr><td>o3d.DitherEnable</td><td>ParamBoolean</td> <td>default = false</td></tr> + <tr><td>o3d.FillMode</td><td>ParamInteger, State.Fill</td> + <td>default = State.SOLID</td></tr> <tr><td>o3d.LineSmoothEnable</td><td>ParamBoolean</td> <td>default = false</td></tr> + <tr><td>o3d.PointSize</td><td>ParamFloat</td><td>TBD</td></tr> <tr><td>o3d.PointSpriteEnable</td><td>ParamBoolean</td> <td>default = false</td></tr> - <tr><td>o3d.PointSize</td><td>ParamFloat</td><td>TBD</td></tr> - <tr><td>o3d.PolygonOffset1</td><td>ParamFloat, polygon offset slope factor<td>0</td></tr> + <tr><td>o3d.PolygonOffset1</td> + <td>ParamFloat, polygon offset slope factor<td>0</td></tr> <tr><td>o3d.PolygonOffset2</td><td>ParamFloat, polygon offset bias (in - resolvable units)<td>0</td></tr> - <tr><td>o3d.FillMode</td><td>ParamInteger, State.Fill</td> - <td>default = State.SOLID</td></tr> - <tr><td>o3d.ZEnable</td><td>ParamBoolean</td> - <td>default = true</td></tr> - <tr><td>o3d.ZWriteEnable</td><td>ParamBoolean</td> - <td>default = true</td></tr> - <tr><td>o3d.ZComparisonFunction</td> - <td>ParamInteger, State.Comparison</td> - <td>default = State.CMP_ALWAYS</td></tr> - <tr><td>o3d.AlphaBlendEnable</td><td>ParamBoolean</td> - <td>default = false</td></tr> - <tr><td>o3d.SourceBlendFunction</td> + resolvable units)<td>0</td></tr> + <tr><td>o3d.SeparateAlphaBlendEnable</td><td>ParamBoolean</td> + <td>default = false;</td></tr> + <tr><td>o3d.SourceBlendAlphaFunction</td> <td>ParamInteger, State.BlendingFunction</td> <td>default = State.BLENDFUNC_ONE</td></tr> - <tr><td>o3d.DestinationBlendFunction</td> + <tr><td>o3d.SourceBlendFunction</td> <td>ParamInteger, State.BlendingFunction</td> - <td>default = State.BLENDFUNC_ZERO</td></tr> + <td>default = State.BLENDFUNC_ONE</td></tr> + <tr><td>o3d.StencilComparisonFunction</td> + <td>ParamInteger, State.Comparison</td> + <td>default = State.CMP_ALWAYS</td></tr> <tr><td>o3d.StencilEnable</td><td>ParamBoolean</td> <td>default = false</td></tr> <tr><td>o3d.StencilFailOperation</td> <td>ParamInteger, State.StencilOperation</td> <td>default = State.STENCIL_KEEP</td></tr> - <tr><td>o3d.StencilZFailOperation</td> - <td>ParamInteger, State.StencilOperation</td> - <td>default = State.STENCIL_KEEP</td></tr> + <tr><td>o3d.StencilMask</td><td>ParamInteger 0-255</td> + <td>default = 255</td></tr> <tr><td>o3d.StencilPassOperation</td> <td>ParamInteger, State.StencilOperation</td> <td>default = State.STENCIL_KEEP</td></tr> - <tr><td>o3d.StencilComparisonFunction</td> - <td>ParamInteger, State.Comparison</td> - <td>default = State.CMP_ALWAYS</td></tr> <tr><td>o3d.StencilReference</td><td>ParamInteger 0-255</td> <td>default = 0</td></tr> - <tr><td>o3d.StencilMask</td><td>ParamInteger 0-255</td> - <td>default = 255</td></tr> <tr><td>o3d.StencilWriteMask</td><td>ParamInteger 0-255</td> <td>default = 255</td></tr> - <tr><td>o3d.ColorWriteEnable</td> - <td>ParamInteger 0-15 bit 0 = red, bit 1 = green, - bit 2 = blue, bit 3 = alpha</td><td>default = 15</td></tr> - <tr><td>o3d.BlendEquation</td> - <td>ParamInteger, State.BlendingEquation</td> - <td>default = State.BLEND_ADD</td></tr> - <tr><td>o3d.TwoSidedStencilEnable</td><td>ParamBoolean</td> - <td>default = false</td></tr> - <tr><td>o3d.CCWStencilFailOperation</td> - <td>ParamInteger, State.StencilOperation</td> - <td>default = State.STENCIL_KEEP</td></tr> - <tr><td>o3d.CCWStencilZFailOperation</td> - <td>ParamInteger, State.StencilOperation</td> - <td>default = State.STENCIL_KEEP</td></tr> - <tr><td>o3d.CCWStencilPassOperation</td> + <tr><td>o3d.StencilZFailOperation</td> <td>ParamInteger, State.StencilOperation</td> <td>default = State.STENCIL_KEEP</td></tr> - <tr><td>o3d.CCWStencilComparisonFunction</td> + <tr><td>o3d.TwoSidedStencilEnable</td><td>ParamBoolean</td> + <td>default = false</td></tr> + <tr><td>o3d.ZComparisonFunction</td> <td>ParamInteger, State.Comparison</td> - <td>default = State.CMP_ALWAYS</td></tr> - <tr><td>o3d.SeparateAlphaBlendEnable</td><td>ParamBoolean</td> - <td>default = false;</td></tr> - <tr><td>o3d.SourceBlendAlphaFunction</td> - <td>ParamInteger, State.BlendingFunction</td> - <td>default = State.BLENDFUNC_ONE</td></tr> - <tr><td>o3d.DestinationBlendAlphaFunction</td> - <td>ParamInteger, State.BlendingFunction</td> - <td>default = State.BLENDFUNC_ZERO</td></tr> - <tr><td>o3d.BlendAlphaEquation</td> - <td>ParamInteger, State.BlendingEquation</td> - <td>default = State.BLEND_ADD</td></tr> + <td>default = State.CMP_LESS</td></tr> + <tr><td>o3d.ZEnable</td><td>ParamBoolean</td> + <td>default = true</td></tr> + <tr><td>o3d.ZWriteEnable</td><td>ParamBoolean</td> + <td>default = true</td></tr> </table> Note: Polygon offset is computed with the following formula: |