VV::V1::ShaderModule struct

Shader modules contain shader code and one or more entry points.

Shaders are selected from a shader module by specifying an entry point as part of pipeline creation. The stages of a pipeline can use shaders that come from different modules.

Specification

Derived classes

struct VV::V2::ShaderModule
Shader modules contain shader code and one or more entry points.

Public types

struct CreateInfo
Specification
using Handle = VkShaderModule
Specification
using CreateFlags = Bitfield<EUndefined, Flags>
Reserved for future use.

Public static functions

static auto Create(LogicalDevice::Handle _deviceHandle, const CreateInfo& _creationSpec, const Memory::AllocationCallbacks* _allocator, Handle& _shaderModule) -> EResult
Create a sher module.
static void Destroy(LogicalDevice::Handle _deviceHandle, Handle _moduleHandle, const Memory::AllocationCallbacks* _allocator)
Destroy a shader module.