private void UpdateTechnique() { this.technique = this.shaderinstance.Effect.GetTechniqueByIndex(this.techid); this.pass = this.technique.GetPassByIndex(this.passid); this.forcedTopology = pass.Topology(); }