nicegraf
ngf_image_ref Struct Reference

Data Fields

ngf_image image
 
uint32_t mip_level
 
uint32_t layer
 
ngf_cubemap_face cubemap_face
 

Detailed Description

A reference to a part of an image.

Field Documentation

◆ cubemap_face

ngf_cubemap_face ngf_image_ref::cubemap_face

The face of the cubemap for cubemaps, ignored for non-cubemap images.

◆ image

ngf_image ngf_image_ref::image

The image being referred to.

◆ layer

uint32_t ngf_image_ref::layer

The layer within the image.

◆ mip_level

uint32_t ngf_image_ref::mip_level

The mip level within the image.