FOpenGLStagingBuffer

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FRHIResource

FRHIStagingBuffer

FOpenGLStagingBuffer

References

Module

OpenGLDrv

Header

/Engine/Source/Runtime/OpenGLDrv/Public/OpenGLResources.h

Include

#include "OpenGLResources.h"

Syntax

class FOpenGLStagingBuffer : public FRHIStagingBuffer

Constructors

Name Description

Public function

FOpenGLStagingBuffer()

Destructors

Name Description

Public function

~FOpenGLStagingBuffer()

Overridden from FRHIStagingBuffer

Name Description

Public function Virtual

void *

 

Lock

(
    uint32 Offset,
    uint32 NumBytes
)

Locks the shadow of VertexBuffer for read. This will stall the RHI thread.

Public function Virtual

void

 

Unlock()

Unlocks the shadow. This is an error if it was not locked previously.