예제 #1
0
 private UniversalEffect(Effect universalEffect)
 {
     effect             = universalEffect;
     CameraParameters   = new UECameraParameters(effect);
     TextureParameters  = new UETextureParameters(effect);
     ShadowParameters   = new UEShadowParameters(effect);
     LightParameters    = new UELightParameters(effect);
     ColorParameters    = new UEColorParameters(effect);
     MaterialParameters = new UEMaterialParameters(effect);
     WorldParameters    = new UEWorldParameters(effect);
     SkinningParameters = new UESkinningParameters(effect);
     Techniques         = new UETechniques(effect);
 }
예제 #2
0
 private UniversalEffect(Effect universalEffect)
 {
     effect = universalEffect;
     CameraParameters = new UECameraParameters(effect);
     TextureParameters = new UETextureParameters(effect);
     ShadowParameters = new UEShadowParameters(effect);
     LightParameters = new UELightParameters(effect);
     ColorParameters = new UEColorParameters(effect);
     MaterialParameters = new UEMaterialParameters(effect);
     WorldParameters = new UEWorldParameters(effect);
     SkinningParameters = new UESkinningParameters(effect);
     Techniques = new UETechniques(effect);
 }