ngfx::ShaderModule
Inherited by ngfx::ComputeShaderModule, ngfx::FragmentShaderModule, ngfx::VertexShaderModule
Public Classes
Public Types
Public Functions
Public Attributes
Public Types Documentation
typedef DescriptorInfos
typedef std::vector<DescriptorInfo> ngfx::ShaderModule::DescriptorInfos;
typedef BufferMemberInfos
typedef std::map<std::string, BufferMemberInfo> ngfx::ShaderModule::BufferMemberInfos;
typedef BufferInfos
typedef std::map<std::string, BufferInfo> ngfx::ShaderModule::BufferInfos;
Public Functions Documentation
function ~ShaderModule
inline virtual ~ShaderModule()
function findDescriptorInfo
inline DescriptorInfo * findDescriptorInfo(
const std::string & name
)
inline BufferInfo * findUniformBufferInfo(
const std::string & name
)
function findStorageBufferInfo
inline BufferInfo * findStorageBufferInfo(
const std::string & name
)
function initBindings
void initBindings(
std::ifstream & in,
ShaderStageFlags shaderStages
)
function initBindings
void initBindings(
const std::string & filename,
ShaderStageFlags shaderStages
)
Public Attributes Documentation
variable descriptors
DescriptorInfos descriptors;
BufferInfos uniformBufferInfos;
variable shaderStorageBufferInfos
BufferInfos shaderStorageBufferInfos;
Updated on 3 April 2021 at 20:21:51 PDT