nux-1.16.0
nux::GpuRenderStates Class Reference

List of all members.

Public Member Functions

 GpuRenderStates (GpuBrand board, GpuInfo *info)
void ResetDefault ()
void ResetStateChangeToDefault ()
void CommitStateChangeToDefault ()
void CheckStateChange ()
void SubmitChangeStates ()
void CheckRenderStatesConformity ()
 Check that all render states ar conform to the default.
void SetRenderStates (t_u32 rs, t_u32 value)
void SetAlphaTest (bool EnableAlphaTest_, t_u32 AlphaTestFunc_=GL_ALWAYS, BYTE AlphaTestRef_=0)
void SetBlend (bool AlphaBlendEnable_)
void SetBlend (bool AlphaBlendEnable_, t_u32 SrcBlendFactor_, t_u32 DestBlendFactor_)
void GetBlend (t_u32 &AlphaBlendEnable_, t_u32 &SrcBlendFactor_, t_u32 &DestBlendFactor_)
void SetSeparateBlend (bool _bEnable, t_u32 SrcBlendFactor_, t_u32 DestBlendFactor_, t_u32 SrcFactorAlpha_, t_u32 DestFactorAlpha_)
void SetPremultipliedBlend (PorterDuffOperator op)
void SetBlendOp (t_u32 BlendOp=GL_FUNC_ADD)
void SetSeparateBlendOp (t_u32 BlendOpRGB_=GL_FUNC_ADD, t_u32 BlendOpAlpha_=GL_FUNC_ADD)
void SetCullMode (bool EnableCullFace, t_u32 FrontFace_=GL_CCW, t_u32 Cullface_=GL_BACK)
void SetDepthTest (bool EnableDepthTest, t_u32 WriteEnable_=GL_TRUE, t_u32 DepthFunc_=GL_LEQUAL)
void SetDepthRange (float zNear=0.0f, float zFar=1.0f)
void SetStencil (bool enable_stencil)
void SetStencilFunc (t_u32 func, int ref, t_u32 mask)
void SetStencilOp (t_u32 stencil_fail, t_u32 stencil_pass_depth_fail, t_u32 stencil_pass_depth_pass)
void EnableLineSmooth (bool EnableLineSmooth=TRUE, t_u32 LineWidth=1, t_u32 HINT=GL_FASTEST)
void EnablePointSmooth (bool EnablePointSmooth=TRUE, t_u32 PointSize=1, t_u32 HINT=GL_FASTEST)
void SetColorMask (t_u32 bRed=TRUE, t_u32 bGreen=TRUE, t_u32 bBlue=TRUE, t_u32 bAlpha=TRUE)
void GetColorMask (t_u32 &bRed, t_u32 &bGreen, t_u32 &bBlue, t_u32 &bAlpha)
void SetDepthMask (t_u32 bDepth=TRUE)
void EnableScissor (t_u32 bScissor=FALSE)
void EnableFog (t_u32 bFog=FALSE)
void SetPolygonMode (t_u32 FrontMode=GL_FILL, t_u32 BackMode=GL_FILL)
void SetPolygonOffset (t_u32 bEnable, float Factor=0.0f, float Units=0.0f)

Detailed Description

Definition at line 140 of file GLRenderStates.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends