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()

Public function

FRHIGPUMask

(
    uint32 InGPUMask
)

Functions

Name Description

Public function Static

const FRHIGP...

 

All()

Public function Const

bool

 

Contains

(
    uint32 GPUIndex
)

Public function Static

FRHIGPUMask

 

FromIndex

(
    uint32 GPUIndex
)

Public function Const

uint32

 

GetFirstIndex()

Public function Const

uint32

 

GetLastIndex()

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

 

operator uint32()

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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback