virtual public void ApplySamplingParameters(VoxelViewContext viewContext, ParameterCollection parameters) { if (StorageFormat != StorageFormats.RGBA16F) { parameters.Set(BrightnessKey, maxBrightness); } else { parameters.Set(BrightnessKey, 1.0f); } storageTex.ApplySamplingParameters(viewContext, parameters); }
override public void ApplySamplingParameters(VoxelViewContext viewContext, ParameterCollection parameters) { if (StorageFormat != StorageFormats.RGBA16F) { parameters.Set(BrightnessKey, maxBrightness * (float)Math.PI); } else { parameters.Set(BrightnessKey, (float)Math.PI); } storageTex.ApplySamplingParameters(viewContext, parameters); }
public override void ApplySamplingParameters(VoxelViewContext viewContext, ParameterCollection parameters) { CoverageTex?.ApplySamplingParameters(viewContext, parameters); }
public abstract void ApplySamplingParameters(VoxelViewContext viewContext, ParameterCollection parameters);
public override void ApplySamplingParameters(VoxelViewContext viewContext, ParameterCollection parameters) { VoxelLayout.ApplySamplingParameters(viewContext, parameters); }
public override void ApplySamplingParameters(VoxelViewContext viewContext, ParameterCollection parameters) { parameters.Set(BrightnessKey, 1.0f); SolidityTex?.ApplySamplingParameters(viewContext, parameters); }
public void ApplySamplingParameters(VoxelViewContext viewContext, ParameterCollection parameters) { parameters.Set(ClipMapskey, ClipMaps); parameters.Set(MipMapskey, MipMaps); parameters.Set(perMapOffsetScaleKey, viewContext.IsVoxelView? PerMapOffsetScaleCurrent : PerMapOffsetScale); }