Derm.Render.PolygonState Class Reference

Polygon state. More...

Inheritance diagram for Derm.Render.PolygonState:
Derm.Render.RenderState Derm.Render.IShaderState

List of all members.

Public Types

enum  RasterFace {
  Points,
  Lines,
  Fill
}
 

Polygon face rasterization modes.

More...

Public Member Functions

 PolygonState ()
 BlendRenderState constructor.
override void SetState (RenderContext ctx, ShaderProgram sProgram)
 Apply this blend renderer state.

Static Public Attributes

static readonly string StateID = "Face"
 The name of this render context.

Properties

override bool Inheritable [get]
 Determine whether this RenderState is inherited.
RasterFace RasterFaceMode [get, set]
override bool ServerSide [get]
 Determine whether this RenderState is defined on server side.

Detailed Description

Polygon state.


Member Enumeration Documentation

Polygon face rasterization modes.

Enumerator:
Points 

Rasterized polygons are rendered as points.

Lines 

Rasterized polygons are rendered as lines.

Fill 

Rasterized polygons are rendered filled.


Constructor & Destructor Documentation

Derm.Render.PolygonState.PolygonState (  ) 

BlendRenderState constructor.


Member Function Documentation

override void Derm.Render.PolygonState.SetState ( RenderContext  ctx,
ShaderProgram  sProgram 
) [virtual]

Apply this blend renderer state.

Parameters:
ctx A RenderContext

Apply this renderer state to the rendering context. This routine doesn't backup the previously values set, indeed cannot restore previous rendering attribute value.

It's advisable to call this method only when is really necessary to change the renderer state, and to minimize state changes since they influence deeply the rendering pipeline performances.

Reimplemented from Derm.Render.RenderState.


Member Data Documentation

readonly string Derm.Render.PolygonState.StateID = "Face" [static]

The name of this render context.


Property Documentation

override bool Derm.Render.PolygonState.Inheritable [get]

Determine whether this RenderState is inherited.

This RenderState is inheritable.

Reimplemented from Derm.Render.RenderState.

RasterFace Derm.Render.PolygonState.RasterFaceMode [get, set]
override bool Derm.Render.PolygonState.ServerSide [get]

Determine whether this RenderState is defined on server side.

This RenderState modify the OpenGL internal state.

Reimplemented from Derm.Render.RenderState.



Services powered by Get Deus Ex Render Machina at SourceForge.net. Fast, secure and Free Open Source software downloads