Search Results for

    Show / Hide Table of Contents

    Texture Editor

    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
    channel selector Each button enables or disables the Texture channels.
    mipmap selector Slider that sets the current Mipmap level of the texture. This control will be hidden in the case of textures without mipmapping.
    background selector 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:
    • Original: Doesn't affect the image size.
    • Percentage: Scales the image using the ScaledPercentage value.
    • FreeForm: Sets the Texture size directly using ScaledWidth and ScaledHeight.
    • PowerOfTwo: Scales to the smallest power of two size per dimension.
    • SquarePowerOfTwo: Scales to the smallest square power of two size per dimension.
    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.
    In this article
    Back to top
    Generated by DocFX