struct render::RenderSurfaceInformation

Structure that contains information about what part of the texture represents the render surface.

Public

Constructors

RenderSurfaceInformation

RenderSurfaceInformation() = default

Fields

Texture

Face

u32 Face

First face of the texture to bind (array index in texture arrays, or Z slice in 3D textures).

FaceCount

u32 FaceCount

Number of faces to bind (entries in a texture array, or Z slices in 3D textures).

When zero the entire resource will be bound.

MipLevel

u32 MipLevel

If the texture has multiple mips, which one to bind (only one can be bound for rendering).