vkd3d  1.14
The vkd3d 3D Graphics Library
Data Fields
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. More...
 
struct vkd3d_shader_descriptor_infodescriptors
 Output; returns a pointer to an array of descriptors. More...
 
unsigned int descriptor_count
 Output; size, in elements, of descriptors. More...
 

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:

Field Documentation

◆ descriptor_count

unsigned int vkd3d_shader_scan_descriptor_info::descriptor_count

Output; size, in elements, of descriptors.

◆ descriptors

struct vkd3d_shader_descriptor_info* vkd3d_shader_scan_descriptor_info::descriptors

Output; returns a pointer to an array of descriptors.

◆ next

const void* vkd3d_shader_scan_descriptor_info::next

Input; optional pointer to a structure containing further parameters.


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