• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# OH_Drawing_GpuContextOptions
2
3
4## Overview
5
6The OH_Drawing_GpuContextOptions struct describes the options about the GPU context.
7
8**Since**: 12
9
10**Related module**: [Drawing](_drawing.md)
11
12**Header file**: [drawing_gpu_context.h](drawing__gpu__context_8h.md)
13
14**Deprecated**: from API version 18
15
16## Summary
17
18
19### Member Variables
20
21| Name| Description|
22| -------- | -------- |
23| bool [allowPathMaskCaching](#allowpathmaskcaching) | Whether to allow path mask textures to be cached. The value **true** means to allow the path mask textures to be cached, and **false** means the opposite.|
24
25
26## Member Variable Description
27
28
29### allowPathMaskCaching
30
31```
32bool OH_Drawing_GpuContextOptions::allowPathMaskCaching
33```
34
35**Description**
36
37Whether to allow path mask textures to be cached. The value **true** means to allow the path mask textures to be cached, and **false** means the opposite.
38