Exemplo n.º 1
0
        /// <summary>
        /// Creates a new raytracing device context
        /// </summary>
        /// <param name="verbose">if true embree will run inverbose mode</param>
        public Device(bool verbose = false)
        {
            string cfg = verbose ? "verbose=999" : null;

            this.devicePtr = RTC.InitEmbree(cfg);
        }