bool CFloatRenderStateParam::operator!=( const CRenderStateParamBase& other ) const { BEATS_ASSERT( other.GetRenderStateType() == eRS_FloatMode ); CFloatRenderStateParam* pOther = ( CFloatRenderStateParam* )&other; return ( m_fValue != pOther->m_fValue || m_type != pOther->m_type ); }
bool CBoolRenderStateParam::operator!=( const CRenderStateParamBase& other ) const { BEATS_ASSERT( other.GetRenderStateType() == eRS_BoolMode ); CBoolRenderStateParam* pOther = (CBoolRenderStateParam*)&other; return ( m_type != pOther->m_type || m_bValue != pOther->m_bValue ); }
bool CStencilRenderStateParam::operator!=( const CRenderStateParamBase& other ) const { BEATS_ASSERT( other.GetRenderStateType() == eRS_StencilMode ); CStencilRenderStateParam* pOther = ( CStencilRenderStateParam* )&other; return ( m_nZFail != pOther->m_nZFail || m_nFail != pOther->m_nFail || m_nZPass != pOther->m_nZPass ); }
bool CUintRenderStateParam::operator!=( const CRenderStateParamBase& other ) const { BEATS_ASSERT( other.GetRenderStateType() == eRSPT_UnitMode ); CUintRenderStateParam* pOther = ( CUintRenderStateParam* )&other; return ( m_type != pOther->m_type || m_uValue != pOther->m_uValue ); }
bool CIntRenderStateParam::operator==( const CRenderStateParamBase& other ) const { BEATS_ASSERT( other.GetRenderStateType() == eRS_IntMode ); CIntRenderStateParam* pOther = ( CIntRenderStateParam* )&other; return ( m_type == pOther->m_type && m_nValue == pOther->m_nValue ); }
bool CBlendEquationRenderStateParam::operator!=( const CRenderStateParamBase& other ) const { BEATS_ASSERT( other.GetRenderStateType() == eRS_BlendEquationMode ); CBlendEquationRenderStateParam* pOther = (CBlendEquationRenderStateParam*)&other; return m_nValue != pOther->m_nValue; }