Derm.Render.CullFaceState Class Reference

Culling face state. More...

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

List of all members.

Public Types

enum  Face {
  Front,
  Back
}
 

Polygon face types.

More...
enum  FrontFace {
  CounterClockWise,
  ClockWise
}
 

Polygon front face determination methods.

More...

Public Member Functions

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

Static Public Attributes

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

Properties

Face CulledFace [get, set]
 Face culled.
bool Culling [get, set]
 Cull enabled flag.
FrontFace FrontFaceMode [get, set]
 Front face determination mode property.
override bool Inheritable [get]
 Determine whether this RenderState is inherited.
override bool ServerSide [get]
 Determine whether this RenderState is defined on server side.

Detailed Description

Culling face state.


Member Enumeration Documentation

Polygon face types.

The Front faces are determined with method PolygonState.FrontFace.

Enumerator:
Front 

Front face.

Back 

Back face.

Polygon front face determination methods.

Enumerator:
CounterClockWise 
ClockWise 

Constructor & Destructor Documentation

Derm.Render.CullFaceState.CullFaceState (  ) 

BlendRenderState constructor.


Member Function Documentation

override void Derm.Render.CullFaceState.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.CullFaceState.StateID = "CullFace" [static]

The name of this render context.


Property Documentation

Face Derm.Render.CullFaceState.CulledFace [get, set]

Face culled.

bool Derm.Render.CullFaceState.Culling [get, set]

Cull enabled flag.

FrontFace Derm.Render.CullFaceState.FrontFaceMode [get, set]

Front face determination mode property.

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

Determine whether this RenderState is inherited.

This RenderState is inheritable.

Reimplemented from Derm.Render.RenderState.

override bool Derm.Render.CullFaceState.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