FRHIGPUMask

A mask where each bit is a GPU index.

Windows
MacOS
Linux

References

Module

RHI

Header

/Engine/Source/Runtime/RHI/Public/MultiGPU.h

Include

#include "MultiGPU.h"

Syntax

struct FRHIGPUMask

Remarks

A mask where each bit is a GPU index. Can not be empty so that non SLI platforms can optimize it to be always 1.

Constructors

Name Description

Public function

FRHIGPUMask()

Functions

Name Description

Public function Static

const FRHIGP...

 

All()

Public function Const

bool

 

Contains

(
    uint32 GPUIndex
)

Public function Const

bool

 

ContainsAll

(
    const FRHIGPUMask& Rhs
)

Public function Static

const FRHIGP...

 

FilterGPUsBefore

(
    uint32 GPUIndex
)

Public function Static

FRHIGPUMask

 

FromIndex

(
    uint32 GPUIndex
)

Public function Const

uint32

 

GetFirstIndex()

Public function Const

uint32

 

GetLastIndex()

Public function Const

uint32

 

GetNative()

Public function Static

const FRHIGP...

 

GPU0()

Public function Const

bool

 

HasSingleIndex()

Public function Const

bool

 

Intersects

(
    const FRHIGPUMask& Rhs
)

Public function Const

uint32

 

ToIndex()

Operators

Name Description

Public function Const

bool

 

operator!=

(
    const FRHIGPUMask& Rhs
)

Public function Const

FRHIGPUMask

 

operator&

(
    const FRHIGPUMask& Rhs
)

Public function

void

 

operator&=

(
    const FRHIGPUMask& Rhs
)

Public function Const

FRHIGPUMask

 

operator|

(
    const FRHIGPUMask& Rhs
)

Public function

void

 

operator|=

(
    const FRHIGPUMask& Rhs
)

Public function Const

bool

 

operator==

(
    const FRHIGPUMask& Rhs
)

Classes

Name

Description

Public struct

FIterator

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss