Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/kernel_types.h
| Show First 20 Lines • Show All 1,390 Lines • ▼ Show 20 Lines | typedef enum CurveFlag { | ||||
| CURVE_KN_TRUETANGENTGNORMAL = 32, /* use tangent normal for geometry? */ | CURVE_KN_TRUETANGENTGNORMAL = 32, /* use tangent normal for geometry? */ | ||||
| CURVE_KN_RIBBONS = 64, /* use flat curve ribbons */ | CURVE_KN_RIBBONS = 64, /* use flat curve ribbons */ | ||||
| } CurveFlag; | } CurveFlag; | ||||
| typedef struct KernelCurves { | typedef struct KernelCurves { | ||||
| int curveflags; | int curveflags; | ||||
| int subdivisions; | int subdivisions; | ||||
| float minimum_width; | int pad1, pad2; | ||||
| float maximum_width; | |||||
| } KernelCurves; | } KernelCurves; | ||||
| static_assert_align(KernelCurves, 16); | static_assert_align(KernelCurves, 16); | ||||
| typedef struct KernelTables { | typedef struct KernelTables { | ||||
| int beckmann_offset; | int beckmann_offset; | ||||
| int pad1, pad2, pad3; | int pad1, pad2, pad3; | ||||
| } KernelTables; | } KernelTables; | ||||
| static_assert_align(KernelTables, 16); | static_assert_align(KernelTables, 16); | ||||
| ▲ Show 20 Lines • Show All 250 Lines • Show Last 20 Lines | |||||