หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
The level of performance optimization for the Shadow effect.
Syntax
typedef enum D2D1_SHADOW_OPTIMIZATION {
D2D1_SHADOW_OPTIMIZATION_SPEED = 0,
D2D1_SHADOW_OPTIMIZATION_BALANCED = 1,
D2D1_SHADOW_OPTIMIZATION_QUALITY = 2,
D2D1_SHADOW_OPTIMIZATION_FORCE_DWORD = 0xffffffff
} ;
Constants
D2D1_SHADOW_OPTIMIZATION_SPEEDValue: 0 Applies internal optimizations such as pre-scaling at relatively small radii. Uses linear filtering. |
D2D1_SHADOW_OPTIMIZATION_BALANCEDValue: 1 Uses the same optimization thresholds as Speed mode, but uses trilinear filtering. |
D2D1_SHADOW_OPTIMIZATION_QUALITYValue: 2 Only uses internal optimizations with large blur radii, where approximations are less likely to be visible. Uses trilinear filtering. |
D2D1_SHADOW_OPTIMIZATION_FORCE_DWORDValue: 0xffffffff |
Requirements
| Requirement | Value |
|---|---|
| Header | d2d1effects.h |