Interface InternalTextureCreationOptions
interface InternalTextureCreationOptions {
comparisonFunction?: number;
createMipMaps?: boolean;
createMSAATexture?: boolean;
creationFlags?: number;
format?: number;
generateMipMaps?: boolean;
isCube?: boolean;
label?: string;
samples?: number;
samplingMode?: number;
type?: number;
useSRGBBuffer?: boolean;
}
comparisonFunction?: number;
createMipMaps?: boolean;
createMSAATexture?: boolean;
creationFlags?: number;
format?: number;
generateMipMaps?: boolean;
isCube?: boolean;
label?: string;
samples?: number;
samplingMode?: number;
type?: number;
useSRGBBuffer?: boolean;
}
Hierarchy (View Summary)
- InternalTextureCreationOptions
Properties
Optionalcomparison Function
comparisonFunction?: number
Comparison function. Used only for depth textures (default: 0)
Optionalcreate Mip Maps
createMipMaps?: boolean
Specifies if mipmaps must be created. If undefined, the value from generateMipMaps is taken instead
Optionalcreate MSAA Texture
createMSAATexture?: boolean
If the MSAA texture must be created right away (default: false)
Optionalcreation Flags
creationFlags?: number
Texture creation flags
Optionalformat
format?: number
Defines format (RGBA by default)
Optionalgenerate Mip Maps
generateMipMaps?: boolean
Specifies if mipmaps must be generated
Optionalis Cube
isCube?: boolean
If the created texture is a cube texture
Optionallabel
label?: string
Label of the texture (used for debugging only)
Optionalsamples
samples?: number
Defines sample count (1 by default)
Optionalsampling Mode
samplingMode?: number
Defines sampling mode (trilinear by default)
Optionaltype
type?: number
Defines texture type (unsigned byte by default)
Optionaluse SRGB Buffer
useSRGBBuffer?: boolean
Creates the RTT in sRGB space
Define options used to create an internal texture