API

Type Alias FrameGraphTextureCreationOptions

Options used to create a texture / list of textures in the frame graph.

type FrameGraphTextureCreationOptions = {
    isHistoryTexture?: boolean;
    options: FrameGraphTextureOptions;
    size: WebXRSpatialLayerType;
    sizeIsPercentage: boolean;
}
Index
isHistoryTexture?: boolean

Indicates that the texture is a history texture (default: false)

Options used to create the textures

Size of the textures. If sizeIsPercentage is true, these are percentages relative to the screen size (100 = 100%)

sizeIsPercentage: boolean

If true, indicates that "size" is percentages relative to the screen size