Inheritance: SharpDX.Toolkit.Graphics.Effect
示例#1
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");
        }
示例#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");
        }