Class GPUAdapter
Interface for GPU device adapter.
Inherited Members
GPUAdapter
Assembly: FlaxEngine.dll
File: Engine/Graphics/GPUAdapter.h
Syntax
public class GPUAdapter : public ScriptingObject
Constructors
GPUAdapter()
Declaration
public GPUAdapter()
GPUAdapter(const GPUAdapter& other)
Methods
GetDescription()
Gets a string that contains the adapter description. Used for presentation to the user.
Declaration
public virtual String GetDescription() const = 0
Returns
String
|
GetDriverVersion()
Gets the GPU driver version.
Declaration
public virtual Version GetDriverVersion() const = 0
Returns
Version
|
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 = 0
Returns
void
|
GetVendorId()
Gets the GPU vendor identifier.
Declaration
public virtual uint32 GetVendorId() const = 0
Returns
uint32
|
IsAMD()
Declaration
public bool IsAMD() const
Returns
bool
|
IsIntel()
Declaration
public bool IsIntel() const
Returns
bool
|
IsMicrosoft()
Declaration
public bool IsMicrosoft() const
Returns
bool
|
IsNVIDIA()
Declaration
public bool IsNVIDIA() const
Returns
bool
|
IsValid()
Checks if adapter is valid and returns true if it is.
Declaration
public virtual bool IsValid() const = 0
Returns
bool
True if valid, otherwise false. |
operator=(const GPUAdapter& other)
Declaration
public GPUAdapter operator=(const GPUAdapter& other)
Parameters
GPUAdapter
other
|
Returns
GPUAdapter
|