Class GPUShaderProgramCSVulkan
Compute Shader for Vulkan backend.
Assembly: FlaxEngine.dll
File: Engine/GraphicsDevice/Vulkan/GPUShaderProgramVulkan.h
Syntax
public class GPUShaderProgramCSVulkan : public GPUShaderProgramVulkan
Constructors
~GPUShaderProgramCSVulkan()
Declaration
public ~GPUShaderProgramCSVulkan()
GPUShaderProgramCSVulkan(GPUDeviceVulkan* device, const GPUShaderProgramInitializer& initializer, const SpirvShaderDescriptorInfo& descriptorInfo, VkShaderModule shaderModule)
Declaration
public GPUShaderProgramCSVulkan(GPUDeviceVulkan* device, const GPUShaderProgramInitializer& initializer, const SpirvShaderDescriptorInfo& descriptorInfo, VkShaderModule shaderModule)
Parameters
GPUDeviceVulkan
device
|
GPUShaderProgramInitializer
initializer
|
SpirvShaderDescriptorInfo
descriptorInfo
|
VkShaderModule
shaderModule
|
Methods
GetOrCreateState()
Gets the state of the pipeline for the compute shader execution or creates a new one if missing.
Declaration
public ComputePipelineStateVulkan* GetOrCreateState()
Returns
ComputePipelineStateVulkan
|