Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/GPU_texture.h
| Show First 20 Lines • Show All 56 Lines • ▼ Show 20 Lines | typedef enum eGPUSamplerState { | ||||
| GPU_SAMPLER_ANISO = (1 << 7), | GPU_SAMPLER_ANISO = (1 << 7), | ||||
| GPU_SAMPLER_ICON = (1 << 8), | GPU_SAMPLER_ICON = (1 << 8), | ||||
| GPU_SAMPLER_REPEAT = (GPU_SAMPLER_REPEAT_S | GPU_SAMPLER_REPEAT_T | GPU_SAMPLER_REPEAT_R), | GPU_SAMPLER_REPEAT = (GPU_SAMPLER_REPEAT_S | GPU_SAMPLER_REPEAT_T | GPU_SAMPLER_REPEAT_R), | ||||
| /* Don't use that. */ | /* Don't use that. */ | ||||
| GPU_SAMPLER_MAX = (GPU_SAMPLER_ICON + 1), | GPU_SAMPLER_MAX = (GPU_SAMPLER_ICON + 1), | ||||
| } eGPUSamplerState; | } eGPUSamplerState; | ||||
| ENUM_OPERATORS(eGPUSamplerState) | ENUM_OPERATORS(eGPUSamplerState, GPU_SAMPLER_REPEAT) | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| void GPU_samplers_update(void); | void GPU_samplers_update(void); | ||||
| /* GPU Texture | /* GPU Texture | ||||
| ▲ Show 20 Lines • Show All 210 Lines • Show Last 20 Lines | |||||