class
TextureImportOptions
Contains import options you may use to control how is a texture imported.
Public
Constructors
TextureImportOptions
Methods
staticCreate
Creates a new import options object that allows you to customize how are textures imported.
staticGetRttiStatic
Fields
GenerateMips
Enables or disables mipmap generation for the texture.
MaxMip
Maximum mip level to generate when generating mipmaps.
If 0 then maximum amount of mip levels will be generated.
CpuCached
Determines whether the texture data is also stored in main memory, available for fast CPU access.
SRgb
Determines whether the texture data should be treated as if its in sRGB (gamma) space.
Such texture will be converted by hardware to linear space before use on the GPU.
Cubemap
Determines should the texture be imported as a cubemap.
See CubemapSourceType to choose how will the source texture be converted to a cubemap.
CubemapSourceType
Determines how should the source texture be interpreted when generating a cubemap.
Only relevant when is set to true.