nicegraf
ngf_shader_stage Struct Reference

Detailed Description

An opaque handle to a programmable stage of the rendering pipeline.

Programmable stages are specified using backend-specific blobs of data, as described in the documentation for ngf_shader_stage_info::content.

On platforms that require a compilation step at runtime, details about compile errors are reported via the debug callback mechanism.

Shader stage objects are necessary for creating ngf_graphics_pipeline objects, but once the pipelines have been created, the shader stages that had been used to create them can safely be disposed of.

See also: ngf_shader_stage_info, ngf_create_shader_stage, ngf_destroy_shader_stage.