Add1D() public method

public Add1D ( int num ) : int
num int
return int
示例#1
0
 public BSDFSampleOffsets(int count, Sample sample)
 {
     nSamples = count;
     ComponentOffset = sample.Add1D (nSamples);
     DirOffset = sample.Add2D (nSamples);
 }
示例#2
0
 public override void RequestSamples(ISampler sampler, Sample sample, Scene scene)
 {
     TauSampleOffset = sample.Add1D (1);
     ScatterSampleOffset = sample.Add1D (1);
 }