ngfx::MTLComputeShaderModule

Inherits from ngfx::ComputeShaderModule, ngfx::MTLShaderModule, ngfx::ShaderModule

Public Functions

Name
virtual ~MTLComputeShaderModule()

Additional inherited members

Public Functions inherited from ngfx::ComputeShaderModule

Name
std::unique_ptr< ComputeShaderModule > create(Device * device, const std::string & filename)
virtual ~ComputeShaderModule()
void initBindings(const std::string & filename)

Public Functions inherited from ngfx::MTLShaderModule

Name
virtual void initFromFile(id< MTLDevice > device, const std::string & filename)
virtual ~MTLShaderModule()

Protected Functions inherited from ngfx::MTLShaderModule

Name
virtual void initFromByteCode(id< MTLDevice > device, void * data, uint32_t size)

Public Attributes inherited from ngfx::MTLShaderModule

Name
id< MTLLibrary > mtlLibrary
id< MTLFunction > mtlFunction

Public Classes inherited from ngfx::ShaderModule

Name
struct BufferInfo
struct BufferMemberInfo
struct DescriptorInfo

Public Types inherited from ngfx::ShaderModule

Name
typedef std::vector< DescriptorInfo > DescriptorInfos
typedef std::map< std::string, BufferMemberInfo > BufferMemberInfos
typedef std::map< std::string, BufferInfo > BufferInfos

Public Functions inherited from ngfx::ShaderModule

Name
virtual ~ShaderModule()
DescriptorInfo * findDescriptorInfo(const std::string & name)
BufferInfo * findUniformBufferInfo(const std::string & name)
BufferInfo * findStorageBufferInfo(const std::string & name)
void initBindings(std::ifstream & in, ShaderStageFlags shaderStages)
void initBindings(const std::string & filename, ShaderStageFlags shaderStages)

Public Attributes inherited from ngfx::ShaderModule

Name
DescriptorInfos descriptors
BufferInfos uniformBufferInfos
BufferInfos shaderStorageBufferInfos

Public Functions Documentation

function ~MTLComputeShaderModule

inline virtual ~MTLComputeShaderModule()

Updated on 3 April 2021 at 20:21:51 PDT