Class FrameGraphGUITask
Hierarchy (View Summary)
- WebXRSpatialLayerType
- FrameGraphGUITask
Constructors
constructor
-
new FrameGraphGUITask(
name: string,
frameGraph: FrameGraph,
adt?: AdvancedDynamicTexture,
): FrameGraphGUITaskConstructs a new GUI task.
Parameters
- name: string
Name of the task
- frameGraph: FrameGraph
Frame graph the task belongs to
Optionaladt: AdvancedDynamicTextureThe GUI texture. If not provided, a new fullscreen GUI will be created.
Returns FrameGraphGUITask
- name: string
Properties
Readonlyoutput Texture
outputTexture: FrameGraphTextureHandle
The output texture of the task. This is the same texture as the target texture, but the handles are different!
target Texture
targetTexture: FrameGraphTextureHandle
The target texture to render the GUI to.
Accessors
disabled
-
get disabled(): boolean
Returns boolean
-
set disabled(value: boolean): void
Parameters
- value: boolean
Returns void
gui
-
Gets the underlying advanced dynamic texture.
Returns AdvancedDynamicTexture
Task that renders a GUI texture.