vkd3d 1.15
The vkd3d 3D Graphics Library
 
Loading...
Searching...
No Matches
vkd3d_shader_scan_descriptor_info Struct Reference

A chained structure enumerating the descriptors declared by a shader. More...

#include <vkd3d_shader.h>

Data Fields

enum vkd3d_shader_structure_type type
 Input; must be set to VKD3D_SHADER_STRUCTURE_TYPE_SCAN_DESCRIPTOR_INFO.
 
const void * next
 Input; optional pointer to a structure containing further parameters.
 
struct vkd3d_shader_descriptor_infodescriptors
 Output; returns a pointer to an array of descriptors.
 
unsigned int descriptor_count
 Output; size, in elements, of descriptors.
 

Detailed Description

A chained structure enumerating the descriptors declared by a shader.

This structure extends vkd3d_shader_compile_info.

When scanning a legacy Direct3D shader, vkd3d-shader enumerates descriptors as follows:


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