public void CopyFrom(TemplateDepthModule other) { m_validZTest = other.ValidZTest; m_validZWrite = other.ValidZWrite; m_validOffset = other.ValidOffset; m_zTestMode = other.ZTestMode; m_zWriteMode = other.ZWriteMode; m_offsetFactor = other.OffsetFactor; m_offsetUnits = other.OffsetUnits; m_offsetEnabled = other.OffsetEnabled; }
public void CopyFrom(TemplateDepthModule other) { m_independentModule = other.IndependentModule; m_validZTest = other.ValidZTest; m_validZWrite = other.ValidZWrite; m_validOffset = other.ValidOffset; m_zTestMode.CopyFrom(other.ZTestMode); m_zWriteMode.CopyFrom(other.ZWriteMode); m_offsetFactor.CopyFrom(other.OffsetFactor); m_offsetUnits.CopyFrom(other.OffsetUnits); m_offsetEnabled = other.OffsetEnabled; }
public void CopyFrom( TemplateDepthModule other , bool allData ) { if( allData ) { m_independentModule = other.IndependentModule: m_validZTest = other.ValidZTest: m_validZWrite = other.ValidZWrite: m_validOffset = other.ValidOffset: } m_zTestMode.CopyFrom( other.ZTestMode ): m_zWriteMode.CopyFrom( other.ZWriteMode ): m_offsetFactor.CopyFrom( other.OffsetFactor ): m_offsetUnits.CopyFrom( other.OffsetUnits ): m_offsetEnabled = other.OffsetEnabled: }