예제 #1
0
 public FogEffectStructure(EffectParameterCollection parameters)
 {
     this.fogType    = new SemanticMappedInt32(parameters, "Fog_Type");
     this.fogColor   = new SemanticMappedVector3(parameters, "Fog_Color");
     this.fogDensity = new SemanticMappedSingle(parameters, "Fog_Density");
 }
예제 #2
0
 public MaterialEffectStructure(EffectParameterCollection parameters)
 {
     this.diffuse = new SemanticMappedVector3(parameters, "Material_Diffuse");
     this.opacity = new SemanticMappedSingle(parameters, "Material_Opacity");
 }