Class GPUAdapterVulkan
Graphics Device adapter implementation for Vulkan backend.
Inherited Members
GPUAdapterVulkan
Assembly: FlaxEngine.dll
File: Engine/GraphicsDevice/Vulkan/GPUAdapterVulkan.h
Syntax
public class GPUAdapterVulkan : public GPUAdapter
Constructors
GPUAdapterVulkan()
GPUAdapterVulkan(const GPUAdapterVulkan& other)
Declaration
public GPUAdapterVulkan(const GPUAdapterVulkan& other)
Parameters
GPUAdapterVulkan
other
|
Fields
Description
Gpu
The GPU device handle.
Declaration
public VkPhysicalDevice Gpu
Field Value
VkPhysicalDevice
|
GpuProps
The GPU device properties.
Declaration
public VkPhysicalDeviceProperties GpuProps
Field Value
VkPhysicalDeviceProperties
|
Methods
GetDescription()
Gets a string that contains the adapter description. Used for presentation to the user.
Declaration
public virtual String GetDescription() const override
Returns
String
|
Overrides
GetDriverVersion()
Gets the GPU driver version.
Declaration
public virtual Version GetDriverVersion() const override
Returns
Version
|
Overrides
GetNativePtr()
Gets the native pointer to the underlying graphics device adapter. It's a low-level platform-specific handle.
Declaration
public virtual void* GetNativePtr() const override
Returns
void
|
Overrides
GetVendorId()
Gets the GPU vendor identifier.
Declaration
public virtual uint32 GetVendorId() const override
Returns
uint32
|
Overrides
IsValid()
Checks if adapter is valid and returns true if it is.
Declaration
public virtual bool IsValid() const override
Returns
bool
True if valid, otherwise false. |
Overrides
operator=(const GPUAdapterVulkan& other)
Declaration
public GPUAdapterVulkan operator=(const GPUAdapterVulkan& other)
Parameters
GPUAdapterVulkan
other
|
Returns
GPUAdapterVulkan
|