public void CopyFrom(TemplatesBlendModule other, bool allData)
 {
     if (allData)
     {
         m_independentModule = other.IndependentModule;
         m_validBlendMode    = other.ValidBlendMode;
         m_target            = other.Target;
         m_validBlendOp      = other.ValidBlendOp;
     }
     m_blendModeEnabled        = other.BlendModeEnabled;
     m_currentRGBIndex         = other.CurrentRGBIndex;
     m_sourceFactorRGB         = other.SourceFactorRGB;
     m_destFactorRGB           = other.DestFactorRGB;
     m_currentAlphaIndex       = other.CurrentAlphaIndex;
     m_sourceFactorAlpha       = other.SourceFactorAlpha;
     m_destFactorAlpha         = other.DestFactorAlpha;
     m_blendOpEnabled          = other.BlendOpEnabled;
     m_blendOpRGB              = other.BlendOpRGB;
     m_blendOpAlpha            = other.BlendOpAlpha;
     m_sourceFactorRGBInline   = other.SourceFactorRGBInline;
     m_destFactorRGBInline     = other.DestFactorRGBInline;
     m_sourceFactorAlphaInline = other.SourceFactorAlphaInline;
     m_destFactorAlphaInline   = other.DestFactorAlphaInline;
     m_blendOpRGBInline        = other.BlendOpRGBInline;
     m_blendOpAlphaInline      = other.BlendOpAlphaInline;
 }
Exemplo n.º 2
0
        public override void Destroy()
        {
            m_comparisonDict.Clear();
            m_comparisonDict = null;

            m_stencilOpsDict.Clear();
            m_stencilOpsDict = null;

            m_reference = null;
            m_readMask  = null;
            m_writeMask = null;
            m_comparisonFunctionFrontIdx = null;
            m_passStencilOpFrontIdx      = null;
            m_failStencilOpFrontIdx      = null;
            m_zFailStencilOpFrontIdx     = null;
            m_comparisonFunctionBackIdx  = null;
            m_passStencilOpBackIdx       = null;
            m_failStencilOpBackIdx       = null;
            m_zFailStencilOpBackIdx      = null;
        }
Exemplo n.º 3
0
 public void CopyFrom(InlineProperty other)
 {
     m_value  = other.m_value;
     m_active = other.m_active;
     m_nodeId = other.m_nodeId;
 }
Exemplo n.º 4
0
 public override void Destroy()
 {
     base.Destroy();
     m_inlineCullMode = null;
 }
 public override void Destroy()
 {
     base.Destroy();
     m_inlineAlphaToMask = null;
 }