VV::V2::ShaderModule struct

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

Base classes

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

Derived classes

class VV::V3::ShaderModule
Shader modules contain shader code and one or more entry points.

Public types

struct CreateInfo
Offers a default constructor and one code/code size parameters.
using Parent = V1::ShaderModule

Public static functions

static auto Create(LogicalDevice::Handle _deviceHandle, const CreateInfo& _creationSpec, Handle& _shaderModule) -> EResult
Create a sher module.
static void Destroy(LogicalDevice::Handle _deviceHandle, Handle _moduleHandle)
Destroy a shader module.
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.

Function documentation

static EResult VV::V2::ShaderModule::Create(LogicalDevice::Handle _deviceHandle, const CreateInfo& _creationSpec, Handle& _shaderModule)

Create a sher module.

Parameters
_deviceHandle
_creationSpec
_shaderModule

static void VV::V2::ShaderModule::Destroy(LogicalDevice::Handle _deviceHandle, Handle _moduleHandle)

Destroy a shader module.

Parameters
_deviceHandle
_moduleHandle

static EResult VV::V2::ShaderModule::Create(LogicalDevice::Handle _deviceHandle, const CreateInfo& _creationSpec, const Memory::AllocationCallbacks* _allocator, Handle& _shaderModule)

Create a sher module.

Parameters
_deviceHandle
_creationSpec
_allocator
_shaderModule

Specification

static void VV::V2::ShaderModule::Destroy(LogicalDevice::Handle _deviceHandle, Handle _moduleHandle, const Memory::AllocationCallbacks* _allocator)

Destroy a shader module.

Parameters
_deviceHandle
_moduleHandle
_allocator

Specification