|
Castor3D
..
|
Rasteriser configuration class. More...
Inheritance diagram for Castor3D::RasteriserState:
Collaboration diagram for Castor3D::RasteriserState:Public Member Functions | |
| C3D_API | RasteriserState (Engine &p_engine) |
| Constructor. More... | |
| virtual C3D_API | ~RasteriserState () |
| Destructor. More... | |
| virtual C3D_API bool | Initialise ()=0 |
| Initialises the states. More... | |
| virtual C3D_API void | Cleanup ()=0 |
| Cleans the states. More... | |
| virtual C3D_API bool | Apply ()=0 |
| Applies the states. More... | |
| Castor3D::eFILL_MODE | GetFillMode () const |
| Retrieves the fill mode. More... | |
| void | SetFillMode (Castor3D::eFILL_MODE p_mode) |
| Sets the fill mode. More... | |
| Castor3D::eFACE | GetCulledFaces () const |
| Retrieves the culled faces. More... | |
| void | SetCulledFaces (Castor3D::eFACE p_eFace) |
| Sets the culled faces. More... | |
| bool | GetFrontCCW () const |
| Retrieves the faces considered front facing. More... | |
| void | SetFrontCCW (bool p_bCCW) |
| Sets the faces considered front facing. More... | |
| bool | GetAntialiasedLines () const |
| Retrieves the antialiased lines status. More... | |
| void | SetAntialiasedLines (bool p_bAA) |
| Sets the antialiased lines status. More... | |
| float | GetDepthBias () const |
| Retrieves the depth bias. More... | |
| void | SetDepthBias (float p_fBias) |
| Sets the depth bias. More... | |
| bool | GetDepthClipping () const |
| Retrieves the depth clipping status. More... | |
| void | SetDepthClipping (bool p_enable) |
| Sets the depth clipping status. More... | |
| bool | GetMultisample () const |
| Retrieves the multisample activation status. More... | |
| void | SetMultisample (bool p_enable) |
| Sets the multisample activation status. More... | |
| bool | GetScissor () const |
| Retrieves the scissor test activation status. More... | |
| void | SetScissor (bool p_enable) |
| Sets the scissor test activation status. More... | |
Protected Member Functions | |
| C3D_API void | CreateCurrent () |
| Creates the state used to save the current state. More... | |
| C3D_API void | DestroyCurrent () |
| Destroys the state used to save the current state. More... | |
| virtual C3D_API RasteriserStateSPtr | DoCreateCurrent ()=0 |
| Creates the state used to save the current state. More... | |
Protected Attributes | |
| bool | m_changed |
| Tells it has changed. More... | |
| eFILL_MODE | m_eFillMode |
| The fill mode. More... | |
| eFACE | m_eCulledFaces |
| The culled faces. More... | |
| bool | m_bFrontCCW |
| The faces considered front facing. More... | |
| bool | m_bAntialiasedLines |
| The antialiased lines status. More... | |
| float | m_fDepthBias |
| The depth bias. More... | |
| bool | m_bScissor |
| The scissor test activation status. More... | |
| bool | m_bDepthClipping |
| The depth clipping status. More... | |
| bool | m_bMultisampled |
| The multisample activation status. More... | |
| RasteriserStateSPtr | m_currentState |
| Shared_pointer to the internal global state, to use reference counting for this static member. More... | |
Static Protected Attributes | |
| static RasteriserStateWPtr | m_wCurrentState |
| The internal global state used to commit only the changed states. More... | |
Rasteriser configuration class.
| C3D_API Castor3D::RasteriserState::RasteriserState | ( | Engine & | p_engine | ) |
Constructor.
| [in] | p_engine | The engine. |
|
virtual |
Destructor.
|
pure virtual |
Applies the states.
|
pure virtual |
Cleans the states.
|
protected |
Creates the state used to save the current state.
|
protected |
Destroys the state used to save the current state.
|
protectedpure virtual |
Creates the state used to save the current state.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
pure virtual |
Initialises the states.
|
inline |
Sets the antialiased lines status.
| [in] | p_bAA | The new value |
References m_bAntialiasedLines, and m_changed.
|
inline |
Sets the culled faces.
| [in] | p_eFace | The new value |
References m_changed, and m_eCulledFaces.
|
inline |
|
inline |
Sets the depth clipping status.
| [in] | p_enable | The new value |
References m_bDepthClipping, and m_changed.
|
inline |
|
inline |
Sets the faces considered front facing.
| [in] | p_bCCW | The new value |
References m_bFrontCCW, and m_changed.
|
inline |
Sets the multisample activation status.
| [in] | p_enable | The new value |
References m_bMultisampled, and m_changed.
|
inline |
Sets the scissor test activation status.
| [in] | p_enable | The new value |
References m_bScissor, and m_changed.
|
protected |
The antialiased lines status.
Referenced by GetAntialiasedLines(), and SetAntialiasedLines().
|
protected |
The depth clipping status.
Referenced by GetDepthClipping(), and SetDepthClipping().
|
protected |
The faces considered front facing.
Referenced by GetFrontCCW(), and SetFrontCCW().
|
protected |
The multisample activation status.
Referenced by GetMultisample(), and SetMultisample().
|
protected |
The scissor test activation status.
Referenced by GetScissor(), and SetScissor().
|
protected |
Tells it has changed.
Referenced by SetAntialiasedLines(), SetCulledFaces(), SetDepthBias(), SetDepthClipping(), SetFillMode(), SetFrontCCW(), SetMultisample(), and SetScissor().
|
protected |
Shared_pointer to the internal global state, to use reference counting for this static member.
|
protected |
The culled faces.
Referenced by GetCulledFaces(), and SetCulledFaces().
|
protected |
The fill mode.
Referenced by GetFillMode(), and SetFillMode().
|
protected |
The depth bias.
Referenced by GetDepthBias(), and SetDepthBias().
|
staticprotected |
The internal global state used to commit only the changed states.
1.8.15