Exemplo n.º 1
0
        /// <inheritdoc/>
        public override void ConfigureForGeometry(GeometryStream stream)
        {
            Contract.Require(stream, nameof(stream));

            this.TextureEnabled     = stream.HasVertexTexture;
            this.VertexColorEnabled = stream.HasVertexColor;

            base.ConfigureForGeometry(stream);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Updates the configuration of the <see cref="Effect"/> instance so that it is able to renderer the specified geometry stream.
 /// </summary>
 /// <param name="stream">The <see cref="GeometryStream"/> that will be rendered with this effect.</param>
 public virtual void ConfigureForGeometry(GeometryStream stream)
 {
 }