nicegraf
ngf_constant_specialization Struct Reference

Data Fields

uint32_t constant_id
 
uint32_t offset
 
ngf_type type
 

Detailed Description

A constant specialization entry, sets the value for a single specialization constant.

Field Documentation

◆ constant_id

uint32_t ngf_constant_specialization::constant_id

ID of the specialization constant used in the shader stage

◆ offset

uint32_t ngf_constant_specialization::offset

Offset at which the user-provided value is stored in the specialization buffer.

◆ type

ngf_type ngf_constant_specialization::type

Type of the specialization constant.