Diligent Engine
 
Loading...
Searching...
No Matches
Diligent.ShaderUnpackInfo Struct Reference

Shader unpack parameters. More...

#include <Dearchiver.h>

Public Attributes

const Char * Name = nullptr
 Name of the shader to unpack.
 
void(* ModifyShaderDesc )(ShaderDesc &Desc, void *pUserData) = nullptr
 
void * pUserData = nullptr
 A pointer to the user data to pass to the ModifyShaderDesc function.
 

Detailed Description

Shader unpack parameters.

Member Data Documentation

◆ ModifyShaderDesc

void(* Diligent.ShaderUnpackInfo.ModifyShaderDesc) (ShaderDesc &Desc, void *pUserData) = nullptr

An optional function to be called by the dearchiver to let the application modify the shader description.