Class GPUShaderVulkan
Shader for Vulkan backend.
Inherited Members
GPUShaderVulkan
Assembly: FlaxEngine.dll
File: Engine/GraphicsDevice/Vulkan/GPUShaderVulkan.h
Syntax
public class GPUShaderVulkan : public GPUResourceVulkan
Constructors
GPUShaderVulkan(GPUDeviceVulkan* device, const StringView& name)
Initializes a new instance of the GPUShaderVulkan class.
Declaration
public GPUShaderVulkan(GPUDeviceVulkan* device, const StringView& name)
Parameters
GPUDeviceVulkan
device
The device. |
StringView
name
The resource name. |
Methods
CreateGPUShaderProgram(ShaderStage type, const GPUShaderProgramInitializer& initializer, Span<byte> bytecode, MemoryReadStream& stream)
Declaration
protected virtual GPUShaderProgram* CreateGPUShaderProgram(ShaderStage type, const GPUShaderProgramInitializer& initializer, Span<byte> bytecode, MemoryReadStream& stream) override
Parameters
ShaderStage
type
|
GPUShaderProgramInitializer
initializer
|
Span<byte>
bytecode
|
MemoryReadStream
stream
|
Returns
GPUShaderProgram
|