Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_shader_fx_types.h
| Show First 20 Lines • Show All 166 Lines • ▼ Show 20 Lines | typedef struct PixelShaderFxData { | ||||
| /** Last element used for shader only. */ | /** Last element used for shader only. */ | ||||
| int size[3]; | int size[3]; | ||||
| /** Flags. */ | /** Flags. */ | ||||
| int flag; | int flag; | ||||
| float rgba[4]; | float rgba[4]; | ||||
| ShaderFxData_Runtime runtime; | ShaderFxData_Runtime runtime; | ||||
| } PixelShaderFxData; | } PixelShaderFxData; | ||||
| typedef enum ePixelShaderFx_Flag { | |||||
| FX_PIXEL_FILTER_NEAREST = (1 << 0), | |||||
| } ePixelShaderFx_Flag; | |||||
| typedef struct RimShaderFxData { | typedef struct RimShaderFxData { | ||||
| ShaderFxData shaderfx; | ShaderFxData shaderfx; | ||||
| int offset[2]; | int offset[2]; | ||||
| /** Flags. */ | /** Flags. */ | ||||
| int flag; | int flag; | ||||
| float rim_rgb[3]; | float rim_rgb[3]; | ||||
| float mask_rgb[3]; | float mask_rgb[3]; | ||||
| int mode; | int mode; | ||||
| ▲ Show 20 Lines • Show All 67 Lines • Show Last 20 Lines | |||||