Contents

TextureResource.Contents.Slice

An object that references the pixel data for a single slice of a mipmap.

Declaration

struct Slice

Overview

2D array textures have arrayLength slices per mipmap, and cube textures have six slices per mipmap. 2D and 3D textures have a single slice per mipmap.

Topics

Creating a texture slice

See Also

Defining the content