Texture Editor
The Texture Editor allows the editing of texture assets. Double-clicking on a Texture asset shown in Assets Details will open this editor. The editor is composed of three main parts:
Viewport
Shows the Texture with the current configuration. It contains a label with the following information:
- Texture Type
- Resolution in pixels
- Pixel Format
- Size of the texture on disk
Note
An example of descriptive text would be Texture2D 4096x4096 px R8G8B8A8_Unorm.
Toolbox
Helps with the texture visualization. It has the following options:
Item | Description |
---|---|
Each button enables or disables the Texture channels. | |
Slider that sets the current Mipmap level of the texture. This control will be hidden in the case of textures without mipmapping. | |
Sets the background color in the Viewport. |
Properties
Panel with all the Texture properties. They don't depend on the profile.
Property | Description |
---|---|
GenerateMipmaps | If Evergine will generate all the mipmaps for the Texture. |
PremultipliedAlpha | If the RGB channels are multiplied by the Alpha (A) channel. |
Sampler | The SamplerState asset that defines how the Texture is sampled and filtered. |
NinePathType | (Currently not supported) Sets the nine-path information of the image. It defines how the texture can stretch in a UI component. |
Profile Properties
Properties that can be changed in every app profile.
Property | Description |
---|---|
ScalingType | Sets how the texture will be scaled:
|
ScaledPercentage | Defines the scale factor of the texture when using the Percentage scaling type. 1.0 by default. |
ScaledWidth | Defines the width of the Texture when using the FreeForm scaling type. |
ScaledHeight | Defines the height of the Texture when using the FreeForm scaling type. |
PixelFormat | Defines the size, elements, and name of Texture pixels. |