{
if (this.shader == null)
throw new IllegalStateException("shader not set");
if (this.sid == null)
throw new IllegalStateException("sid not set");
final CommonEffectTechnique technique = new CommonEffectTechnique(this.sid, this.shader);
technique.setAsset(this.asset);
technique.setId(this.id);
return technique;
}