vkd3d  1.3
The vkd3d 3D Graphics Library
Data Fields
vkd3d_shader_code Struct Reference

A generic structure containing a GPU shader, in text or byte-code format. More...

#include <vkd3d_shader.h>

Data Fields

const void * code
 Pointer to the code. More...
 
size_t size
 Size of code, in bytes.
 

Detailed Description

A generic structure containing a GPU shader, in text or byte-code format.

Field Documentation

◆ code

const void* vkd3d_shader_code::code

Pointer to the code.

Note that textual formats are not null-terminated. Therefore size should not include a null terminator, when this structure is passed as input to a vkd3d-shader function, and the allocated string will not include a null terminator when this structure is used as output.


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