Retrieves the alpha mode of the GPUCanvas object.
The alpha mode of the GPUCanvas.
Sets the alpha mode of the GPUCanvas.
The new alpha mode value to be set.
Sets the background color of the element.
The color value to set as the background color.
Retrieves the GPU canvas configuration description.
The configuration description.
Retrieves the RedGPUContextDetector instance.
The RedGPUContextDetector instance.
Retrieves the GPU adapter.
The GPU adapter object.
Returns the GPU canvas context.
The GPU canvas context.
Retrieves the GPU device associated with this object.
The GPU device.
Retrieves the height of the sizeManager.
The height of the sizeManager.
Sets the height value of the element.
The height value to set. It can be either a number or a string.
Retrieves the HTML canvas element associated with the current instance of the class.
The HTML canvas element.
Returns the number of View3D objects owned by this object.
The number of View3D objects.
Retrieves the render scale value from the size manager.
The render scale value.
Sets the render scale for the size manager.
The render scale value to set.
Retrieves the size manager of the RedGPU context.
The size manager of the RedGPU context.
Returns the list of View3D objects owned by this instance.
The list of View3D objects.
Retrieves the width of the object.
The width of the object.
Sets the width value for the size manager.
The width value to set. It can be either a number or a string.
Adds a view at a specified index in the view list.
The view to be added.
The index at which the view should be inserted.
Checks if the given child View3D is contained within the current View3D.
The child View3D to check for containment.
Destroys the GPU device. It releases any allocated resources and cleans up the GPU device.
Retrieves the view at the specified index.
The index of the view to retrieve.
The view at the specified index.
Returns the index of the specified view in the view list.
The view to search for.
Removes all views from the view list.
Sets the size of the element.
Optional
w: string | number = ...The width of the element. It can be either a string or a number. Defaults to the current width.
Optional
h: string | number = ...The height of the element. It can be either a string or a number. Defaults to the current height.
Sets the view at the specified index in the viewList of the RedGPUContext instance.
The View3D instance to set at the specified index.
The index at which to set the view.
Swaps the positions of two views in the view list of the RedGPUContext instance.
Swaps two views at the specified indices in the view list.
The index of the first view to swap.
The index of the second view to swap.
RedGPU.initialize 실행이후 생성 제공되는 객체.