Skip to content

Commit aa91a74

Browse files
committed
Update 3D drawing stage description
1 parent 45995d2 commit aa91a74

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

functions/Drawing/dxDrawLine3D.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ client:
3535
description: The width/thickness of the line.
3636
default: '1.0'
3737
- name: stage
38-
type: string
39-
description: A string representing a stage at which the actual drawcall should happen.
38+
type: bool/string
39+
description: A string representing the stage at which the actual draw call should happen. If **true** is provided, the stage will be `postgui`; if **false**, it will be `postfx`.
4040
default: '"postfx"'
4141
templateList: line-drawing-stages
4242
examples:

functions/Drawing/dxDrawMaterialLine3D.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ client:
3636
description: An integer of the hex color, produced using [[tocolor]] or 0xAARRGGBB.
3737
default: tocolor(255,255,255,255)
3838
- name: stage
39-
type: string
40-
description: A string representing a stage at which the actual drawcall should happen.
39+
type: bool/string
40+
description: A string representing the stage at which the actual draw call should happen. If **true** is provided, the stage will be `postgui`; if **false**, it will be `postfx`.
4141
default: '"postfx"'
4242
templateList: line-drawing-stages
4343
- name: faceTowardX

functions/Drawing/dxDrawMaterialPrimitive3D.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ client:
1313
- name: material
1414
type: string/texture
1515
description: Either a [[texture]] element or a [filepath](/reference/Filepath) of the image which is going to be drawn. Image files should ideally have dimensions that are a power of two, to prevent possible blurring. Use a texture created with [[dxCreateTexture]] to **speed up drawing**.
16-
- name: name
17-
type: string
18-
description: A string representing a stage at which the actual drawcall should happen.
16+
- name: stage
17+
type: bool/string
18+
description: A string representing the stage at which the actual draw call should happen. If **true** is provided, the stage will be `postgui`; if **false**, it will be `postfx`.
1919
templateList: primitive-drawing-stages
2020
- name: vertex1
2121
type: table

functions/Drawing/dxDrawPrimitive3D.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ client:
77
description: Type of primitive to be drawn.
88
templateList: primitives
99
- name: stage
10-
type: string
11-
description: A string representing a stage at which the actual drawcall should happen.
10+
type: bool/string
11+
description: A string representing the stage at which the actual draw call should happen. If **true** is provided, the stage will be `postgui`; if **false**, it will be `postfx`.
1212
templateList: primitive-drawing-stages
1313
- name: vertex1
1414
type: table

0 commit comments

Comments
 (0)