Exemplo n.º 1
0
 public void Destroy()
 {
     m_shaderModelHelper = null;
     m_blendOpHelper     = null;
     m_blendOpHelper1    = null;
     m_blendOpHelper2    = null;
     m_blendOpHelper3    = null;
     m_cullModeHelper    = null;
     m_alphaToMaskHelper = null;
     m_colorMaskHelper.Destroy();
     m_colorMaskHelper = null;
     m_colorMaskHelper1.Destroy();
     m_colorMaskHelper1 = null;
     m_colorMaskHelper2.Destroy();
     m_colorMaskHelper2 = null;
     m_colorMaskHelper3.Destroy();
     m_colorMaskHelper3 = null;
     m_stencilBufferHelper.Destroy();
     m_stencilBufferHelper = null;
     m_tagsHelper.Destroy();
     m_tagsHelper = null;
     m_additionalDefines.Destroy();
     m_additionalDefines = null;
     m_additionalIncludes.Destroy();
     m_additionalIncludes = null;
     m_additionalPragmas.Destroy();
     m_additionalPragmas = null;
     m_additionalDirectives.Destroy();
     m_additionalDirectives = null;
     m_renderingPlatforms.Destroy();
     m_renderingPlatforms = null;
 }
Exemplo n.º 2
0
 public override void Destroy()
 {
     base.Destroy();
     m_currentTemplate = null;
     m_blendOpHelper   = null;
     m_cullModeHelper  = null;
     m_colorMaskHelper.Destroy();
     m_colorMaskHelper = null;
     m_stencilBufferHelper.Destroy();
     m_stencilBufferHelper = null;
 }
Exemplo n.º 3
0
        public override void Destroy()
        {
            base.Destroy();
            m_currentTemplate = null;
#if TEMPLATE_MODULES
            m_blendOpHelper  = null;
            m_cullModeHelper = null;
            m_colorMaskHelper.Destroy();
            m_colorMaskHelper = null;
            m_stencilBufferHelper.Destroy();
            m_stencilBufferHelper = null;
#endif
        }
Exemplo n.º 4
0
 public void CopyFrom(TemplatesStencilBufferModule other)
 {
     m_reference                 = other.Reference;
     m_readMask                  = other.ReadMask;
     m_writeMask                 = other.WriteMask;
     m_comparisonFunctionIdx     = other.ComparisonFunctionIdx;
     m_comparisonFunctionBackIdx = other.ComparisonFunctionBackIdx;
     m_passStencilOpIdx          = other.PassStencilOpIdx;
     m_passStencilOpBackIdx      = other.PassStencilOpBackIdx;
     m_failStencilOpIdx          = other.FailStencilOpIdx;
     m_failStencilOpBackIdx      = other.FailStencilOpBackIdx;
     m_zFailStencilOpIdx         = other.ZFailStencilOpIdx;
     m_zFailStencilOpBackIdx     = other.ZFailStencilOpBackIdx;
 }
Exemplo n.º 5
0
 public void CopyFrom(TemplatesStencilBufferModule other)
 {
     m_active            = other.Active;
     m_independentModule = other.IndependentModule;
     m_reference.CopyFrom(other.Reference);
     m_readMask.CopyFrom(other.ReadMask);
     m_writeMask.CopyFrom(other.WriteMask);
     m_comparisonFunctionFrontIdx.CopyFrom(other.ComparisonFunctionIdx);
     m_comparisonFunctionBackIdx.CopyFrom(other.ComparisonFunctionBackIdx);
     m_passStencilOpFrontIdx.CopyFrom(other.PassStencilOpIdx);
     m_passStencilOpBackIdx.CopyFrom(other.PassStencilOpBackIdx);
     m_failStencilOpFrontIdx.CopyFrom(other.FailStencilOpIdx);
     m_failStencilOpBackIdx.CopyFrom(other.FailStencilOpBackIdx);
     m_zFailStencilOpFrontIdx.CopyFrom(other.ZFailStencilOpIdx);
     m_zFailStencilOpBackIdx.CopyFrom(other.ZFailStencilOpBackIdx);
 }
Exemplo n.º 6
0
 public void Destroy()
 {
     m_shaderModelHelper = null;
     m_blendOpHelper     = null;
     m_cullModeHelper    = null;
     m_colorMaskHelper.Destroy();
     m_colorMaskHelper = null;
     m_stencilBufferHelper.Destroy();
     m_stencilBufferHelper = null;
     m_tagsHelper.Destroy();
     m_tagsHelper = null;
     m_additionalDefines.Destroy();
     m_additionalDefines = null;
     m_additionalIncludes.Destroy();
     m_additionalIncludes = null;
     m_additionalPragmas.Destroy();
     m_additionalPragmas = null;
 }