Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/device/optix/device_impl.h
| Show First 20 Lines • Show All 98 Lines • ▼ Show 20 Lines | public: | ||||
| /* OptiX denoiser state and scratch buffers, stored in a single memory buffer. | /* OptiX denoiser state and scratch buffers, stored in a single memory buffer. | ||||
| * The memory layout goes as following: [denoiser state][scratch buffer]. */ | * The memory layout goes as following: [denoiser state][scratch buffer]. */ | ||||
| device_only_memory<unsigned char> state; | device_only_memory<unsigned char> state; | ||||
| OptixDenoiserSizes sizes = {}; | OptixDenoiserSizes sizes = {}; | ||||
| bool use_pass_albedo = false; | bool use_pass_albedo = false; | ||||
| bool use_pass_normal = false; | bool use_pass_normal = false; | ||||
| bool use_pass_flow = false; | |||||
| }; | }; | ||||
| Denoiser denoiser_; | Denoiser denoiser_; | ||||
| public: | public: | ||||
| OptiXDevice(const DeviceInfo &info, Stats &stats, Profiler &profiler); | OptiXDevice(const DeviceInfo &info, Stats &stats, Profiler &profiler); | ||||
| ~OptiXDevice(); | ~OptiXDevice(); | ||||
| private: | private: | ||||
| ▲ Show 20 Lines • Show All 73 Lines • Show Last 20 Lines | |||||