Пример #1
0
        public EmbreeDevice(Context context)
        {
            var embreeDeviceSettings = new EmbreeDeviceSettings {
            };

            var status = API.iplEmbreeDeviceCreate(context.Get(), ref embreeDeviceSettings, out mEmbreeDevice);

            if (status != Error.Success)
            {
                throw new Exception(string.Format("Unable to create Embree device. [{0}]", status));
            }
        }