/// <inheritdoc/> public override void ConfigureForGeometry(GeometryStream stream) { Contract.Require(stream, nameof(stream)); this.TextureEnabled = stream.HasVertexTexture; this.VertexColorEnabled = stream.HasVertexColor; base.ConfigureForGeometry(stream); }
/// <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) { }