Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::MemoryShaderSourceFactoryCreateInfo Struct Reference

Memory shader source factory create info. More...

#include <ShaderSourceFactoryUtils.h>

Public Attributes

const MemoryShaderSourceFileInfopSources = nullptr
 An array of shader source files.
 
Uint32 NumSources = 0
 The number of files in pSources array.
 
Bool CopySources = False
 

Detailed Description

Memory shader source factory create info.

Member Data Documentation

◆ CopySources

Bool Diligent::MemoryShaderSourceFactoryCreateInfo::CopySources = False

Whether to copy shader sources. If false, the factory will assume that the source data will remain valid for the lifetime of the factory.