Search Results for

    Show / Hide Table of Contents

    Class TextureMipData

    Single texture mip map entry data.

    Inheritance
    TextureMipData
    Assembly: FlaxEngine.dll
    File: Engine/Graphics/Textures/TextureData.h
    Syntax
    public class TextureMipData

    Constructors

    TextureMipData()

    Declaration
    public TextureMipData()

    TextureMipData(const TextureMipData& other)

    Declaration
    public TextureMipData(const TextureMipData& other)
    Parameters
    TextureMipData other

    TextureMipData(TextureMipData&& other)

    Declaration
    public TextureMipData(TextureMipData&& other) noexcept
    Parameters
    TextureMipData other

    Fields

    Data

    Declaration
    public BytesContainer Data
    Field Value
    BytesContainer

    DepthPitch

    Declaration
    public uint32 DepthPitch
    Field Value
    uint32

    Lines

    Declaration
    public uint32 Lines
    Field Value
    uint32

    RowPitch

    Declaration
    public uint32 RowPitch
    Field Value
    uint32

    Methods

    Copy(void* data, uint32 dataRowPitch, uint32 dataDepthPitch, uint32 dataDepthSlices, uint32 targetRowPitch)

    Declaration
    public void Copy(void* data, uint32 dataRowPitch, uint32 dataDepthPitch, uint32 dataDepthSlices, uint32 targetRowPitch)
    Parameters
    void data

    uint32 dataRowPitch

    uint32 dataDepthPitch

    uint32 dataDepthSlices

    uint32 targetRowPitch

    Get(int32 x, int32 y)

    Declaration
    public T Get(int32 x, int32 y)
    Parameters
    int32 x

    int32 y

    Returns
    T

    Type Parameters
    typename T

    GetPixels(Array<Color>& pixels, int32 width, int32 height, PixelFormat format)

    Declaration
    public bool GetPixels(Array<Color>& pixels, int32 width, int32 height, PixelFormat format) const
    Parameters
    Array<Color> pixels

    int32 width

    int32 height

    PixelFormat format

    Returns
    bool

    GetPixels(Array<Color32>& pixels, int32 width, int32 height, PixelFormat format)

    Declaration
    public bool GetPixels(Array<Color32>& pixels, int32 width, int32 height, PixelFormat format) const
    Parameters
    Array<Color32> pixels

    int32 width

    int32 height

    PixelFormat format

    Returns
    bool

    operator=(const TextureMipData& other)

    Declaration
    public TextureMipData operator=(const TextureMipData& other)
    Parameters
    TextureMipData other

    Returns
    TextureMipData

    operator=(TextureMipData&& other)

    Declaration
    public TextureMipData operator=(TextureMipData&& other) noexcept
    Parameters
    TextureMipData other

    Returns
    TextureMipData

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat