Inheritance: SharpDX.Toolkit.Graphics.Effect
        void LoadContent()
        {
            m_effect = this.Content.Load <TerrainEffect>("TerrainEffect");

            m_effect.TileTextures = this.Content.Load <Texture2D>("TileSet");

            m_symbolEffect = this.Content.Load <SymbolEffect>("SymbolEffect");

            m_symbolEffect.SymbolTextures = this.Content.Load <Texture2D>("TileSet");
        }
Exemple #2
0
        void LoadContent()
        {
            m_effect = this.Content.Load<TerrainEffect>("TerrainEffect");

            m_effect.TileTextures = this.Content.Load<Texture2D>("TileSet");

            m_symbolEffect = this.Content.Load<SymbolEffect>("SymbolEffect");

            m_symbolEffect.SymbolTextures = this.Content.Load<Texture2D>("TileSet");
        }