ngfx::VertexShaderModule
Inherits from ngfx::ShaderModule
Inherited by ngfx::D3DVertexShaderModule, ngfx::MTLVertexShaderModule, ngfx::VKVertexShaderModule
Public Classes
Name | |
---|---|
struct | AttributeDescription |
Public Functions
Name | |
---|---|
std::unique_ptr< VertexShaderModule > | create(Device * device, const std::string & filename) |
virtual | ~VertexShaderModule() |
AttributeDescription * | findAttribute(const std::string & name) |
void | initBindings(const std::string & filename) |
Public Attributes
Name | |
---|---|
std::vector< AttributeDescription > | attributes |
Additional inherited members
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) |
Public Attributes inherited from ngfx::ShaderModule
Name | |
---|---|
DescriptorInfos | descriptors |
BufferInfos | uniformBufferInfos |
BufferInfos | shaderStorageBufferInfos |
Public Functions Documentation
function create
static std::unique_ptr< VertexShaderModule > create(
Device * device,
const std::string & filename
)
function ~VertexShaderModule
inline virtual ~VertexShaderModule()
function findAttribute
inline AttributeDescription * findAttribute(
const std::string & name
)
function initBindings
void initBindings(
const std::string & filename
)
Public Attributes Documentation
variable attributes
std::vector< AttributeDescription > attributes;
Updated on 3 April 2021 at 20:21:51 PDT