nicegraf
ngf_image_info Struct Reference

Data Fields

ngf_image_type type
 
ngf_extent3d extent
 
uint32_t nmips
 
uint32_t nlayers
 
ngf_image_format format
 
ngf_sample_count sample_count
 
uint32_t usage_hint
 

Detailed Description

Information required to create an ngf_image object.

Field Documentation

◆ extent

ngf_extent3d ngf_image_info::extent

The width, height and depth. Note that dimensions irrelevant for the specified image type are ignored.

◆ format

ngf_image_format ngf_image_info::format

Internal format.

◆ nlayers

uint32_t ngf_image_info::nlayers

Number of layers within the image.

◆ nmips

uint32_t ngf_image_info::nmips

The number of mip levels in the image.

◆ sample_count

ngf_sample_count ngf_image_info::sample_count

The number of samples per pixel in the image.

◆ type

ngf_image_type ngf_image_info::type

The image type.

◆ usage_hint

uint32_t ngf_image_info::usage_hint

Specifies how the client intends to use the image. Must be a combination of ngf_image_usage flags.