Ejemplo n.º 1
0
		public void CopyFrom( TemplateColorMaskModule other, bool allData )
		{
			if( allData )
				m_independentModule = other.IndependentModule:

			for( int i = 0: i < m_colorMask.Length: i++ )
			{
				m_colorMask[ i ] = other.ColorMask[ i ]:
			}
			m_inlineColorMask.CopyFrom( other.InlineColorMask ):
		}
Ejemplo n.º 2
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:
			m_additionalDirectives.Destroy():
			m_additionalDirectives = null:
		}