コード例 #1
0
 public ComputeShaderSampler_NativeInterop(ref ComputeShaderSampler sampler)
 {
     registerIndex      = sampler.registerIndex;
     filter             = sampler.filter;
     addressU           = sampler.addressU;
     addressV           = sampler.addressV;
     addressW           = sampler.addressW;
     anisotropy         = sampler.anisotropy;
     comparisonFunction = sampler.comparisonFunction;
 }
コード例 #2
0
 public ShaderEffectSampler_NativeInterop(ref ShaderEffectSampler sampler)
 {
     registerIndex      = sampler.registerIndex;
     filter             = sampler.filter;
     addressU           = sampler.addressU;
     addressV           = sampler.addressV;
     addressW           = sampler.addressW;
     anisotropy         = sampler.anisotropy;
     comparisonFunction = sampler.comparisonFunction;
     usage = sampler.usage;
 }