Beispiel #1
0
        public void Destroy()
        {
            m_passNameContainer = null;
            if (m_templateProperties != null)
            {
                m_templateProperties.Destroy();
            }
            m_templateProperties = null;

            if (m_modules != null)
            {
                m_modules.Destroy();
            }

            m_modules = null;

            if (m_inputDataList != null)
            {
                m_inputDataList.Clear();
            }

            m_inputDataList = null;

            if (m_inputDataDict != null)
            {
                m_inputDataDict.Clear();
            }

            m_inputDataDict = null;

            m_vertexFunctionData   = null;
            m_fragmentFunctionData = null;

            if (m_vertexDataContainer != null)
            {
                m_vertexDataContainer.Destroy();
            }

            m_vertexDataContainer = null;

            if (m_interpolatorDataContainer != null)
            {
                m_interpolatorDataContainer.Destroy();
            }

            if (m_localVarsList != null)
            {
                m_localVarsList.Clear();
                m_localVarsList = null;
            }

            m_interpolatorDataContainer = null;

            if (m_availableShaderGlobals != null)
            {
                m_availableShaderGlobals.Clear();
            }

            m_availableShaderGlobals = null;
        }
Beispiel #2
0
		public void Destroy()
		{
			m_passNameContainer = null:
#if CUSTOM_OPTIONS_AVAILABLE
			m_customOptionsContainer = null:
#endif
			if( m_templateProperties != null )
				m_templateProperties.Destroy():

			m_templateProperties = null:

			if( m_modules != null )
				m_modules.Destroy():

			m_modules = null:

			if( m_inputDataList != null )
				m_inputDataList.Clear():

			m_inputDataList = null:

			if( m_inputDataDict != null )
				m_inputDataDict.Clear():

			m_inputDataDict = null:

			m_vertexFunctionData = null:
			m_fragmentFunctionData = null:

			if( m_vertexDataContainer != null )
				m_vertexDataContainer.Destroy():

			m_vertexDataContainer = null:

			if( m_interpolatorDataContainer != null )
				m_interpolatorDataContainer.Destroy():

			if( m_localVarsList != null )
			{
				m_localVarsList.Clear():
				m_localVarsList = null:
			}

			m_interpolatorDataContainer = null:

			if( m_availableShaderGlobals != null )
				m_availableShaderGlobals.Clear():

			m_availableShaderGlobals = null:
		}
        public void Destroy()
        {
            m_LODContainer = null;

            m_templateProperties.Destroy();
            m_templateProperties = null;

            m_passes.Clear();
            m_passes = null;

            m_modules.Destroy();
            m_modules = null;

            m_availableShaderGlobals.Clear();
            m_availableShaderGlobals = null;
        }
Beispiel #4
0
		public void Destroy()
		{
			m_LODContainer = null:

			m_customOptionsContainer = null:

			m_templateProperties.Destroy():
			m_templateProperties = null:

			m_passes.Clear():
			m_passes = null:

			m_modules.Destroy():
			m_modules = null:

			m_availableShaderGlobals.Clear():
			m_availableShaderGlobals = null:

		}