Type Alias FrameGraphTextureOptions
createMipMaps?: boolean;
creationFlags?: number[];
formats?: number[];
labels?: string[];
layerCounts?: number[];
samples?: number;
targetTypes?: number[];
types?: number[];
useSRGBBuffers?: boolean[];
}
Index
Properties
Optionalcreate Mip Maps
Specifies if mipmaps must be created for the textures (default: false)
Optionalcreation Flags
Defines the creation flags of the textures (Constants.TEXTURE_CREATIONFLAG_STORAGE for storage textures, for eg)
Optionalformats
Defines the format of the textures (RED, RG, RGB, RGBA, ALPHA...)
Optionallabels
Defines the names of the textures (used for debugging purpose)
Optionallayer Counts
Define the number of layers of the textures (if applicable, given the corresponding targetType) (for Constants.TEXTURE_3D, .TEXTURE_2D_ARRAY, and .TEXTURE_CUBE_MAP_ARRAY)
Optionalsamples
Defines sample count (default: 1)
Optionaltarget Types
Define the type of the textures (of Constants.TEXTURE_2D, .TEXTURE_2D_ARRAY, .TEXTURE_CUBE_MAP, .TEXTURE_CUBE_MAP_ARRAY, .TEXTURE_3D).
Optionaltypes
Defines the type of the texture channels (UNSIGNED_BYTE, FLOAT, etc.)
Optionaluse SRGB Buffers
Defines if sRGB format should be used for each of texture
Options used to describe a texture to be created in the frame graph.