Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/render/shader.h
| Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | enum ShadingSystem { | ||||
| SHADINGSYSTEM_SVM | SHADINGSYSTEM_SVM | ||||
| }; | }; | ||||
| /* Keep those in sync with the python-defined enum. */ | /* Keep those in sync with the python-defined enum. */ | ||||
| enum VolumeSampling { | enum VolumeSampling { | ||||
| VOLUME_SAMPLING_DISTANCE = 0, | VOLUME_SAMPLING_DISTANCE = 0, | ||||
| VOLUME_SAMPLING_EQUIANGULAR = 1, | VOLUME_SAMPLING_EQUIANGULAR = 1, | ||||
| VOLUME_SAMPLING_MULTIPLE_IMPORTANCE = 2, | VOLUME_SAMPLING_MULTIPLE_IMPORTANCE = 2, | ||||
| VOLUME_NUM_SAMPLING, | |||||
| }; | }; | ||||
| enum VolumeInterpolation { | enum VolumeInterpolation { | ||||
| VOLUME_INTERPOLATION_LINEAR = 0, | VOLUME_INTERPOLATION_LINEAR = 0, | ||||
| VOLUME_INTERPOLATION_CUBIC = 1, | VOLUME_INTERPOLATION_CUBIC = 1, | ||||
| VOLUME_NUM_INTERPOLATION, | |||||
| }; | }; | ||||
| /* Shader describing the appearance of a Mesh, Light or Background. | /* Shader describing the appearance of a Mesh, Light or Background. | ||||
| * | * | ||||
| * While there is only a single shader graph, it has three outputs: surface, | * While there is only a single shader graph, it has three outputs: surface, | ||||
| * volume and displacement, that the shader manager will compile and execute | * volume and displacement, that the shader manager will compile and execute | ||||
| * separately. */ | * separately. */ | ||||
| ▲ Show 20 Lines • Show All 118 Lines • Show Last 20 Lines | |||||