R/has_denoiser.R

Defines functions has_denoiser

Documented in has_denoiser

#' Check for Denoiser Support
#'
#' @description Returns TRUE if rayrender was compiled with Open Image Denoise (OIDN) support.
#'
#' @return Logical value.
#' @export
#'@examplesIf interactive() || identical(Sys.getenv("IN_PKGDOWN"), "true")
#' has_denoiser()
has_denoiser = function() {
  cppdef_HAS_OIDN()
}

Try the rayrender package in your browser

Any scripts or data that you put into this service are public.

rayrender documentation built on Sept. 16, 2026, 9:08 a.m.