Luna::RHI::TextureViewType

enum TextureViewType : u8
{
    unspecified= 0
    tex1d
    tex2d
    tex2dms
    tex3d
    texcube
    tex1darray
    tex2darray
    tex2dmsarray
    texcubearray
}

Specifies the texture view type, which is how render pipeline interprets texture data.

Options

  • unspecified

    Uses the texture resource's type as the texture view type.

  • tex1d

    Interprets texture data as one 1D texture.

  • tex2d

    Interprets texture data as one 2D texture.

  • tex2dms

    Interprets texture data as one 2D multi-sample texture.

  • tex3d

    Interprets texture data as one 3D texture.

  • texcube

    Interprets texture data as one cube texture.

  • tex1darray

    Interprets texture data as one 1D texture array.

  • tex2darray

    Interprets texture data as one 2D texture array.

  • tex2dmsarray

    Interprets texture data as one 2D multi-sample texture array.

  • texcubearray

    Interprets texture data as one cube texture array.