public void CopyFrom( TemplateShaderModelModule other , bool allData ) { if( allData ) { m_independentModule = other.IndependentModule: m_encapsulateOnCGInlude = other.EncapsulateOnCGInlude: } m_shaderModelIdx = other.CurrentShaderModelIdx: }
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: m_additionalDirectives.Destroy(): m_additionalDirectives = null: }