vkd3d  1.14
The vkd3d 3D Graphics Library
Data Fields
vkd3d_shader_signature Struct Reference

Description of a shader input or output signature. More...

#include <vkd3d_shader.h>

Data Fields

struct vkd3d_shader_signature_elementelements
 Pointer to an array of varyings. More...
 
unsigned int element_count
 Size, in elements, of elements. More...
 

Detailed Description

Description of a shader input or output signature.

This structure is populated by vkd3d_shader_parse_input_signature().

The helper function vkd3d_shader_find_signature_element() will look up a varying element by its semantic name, semantic index, and stream index.

Field Documentation

◆ element_count

unsigned int vkd3d_shader_signature::element_count

Size, in elements, of elements.

◆ elements

struct vkd3d_shader_signature_element* vkd3d_shader_signature::elements

Pointer to an array of varyings.


The documentation for this struct was generated from the following file: