FOpenGLUniformBuffer

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FRHIResource

FRHIUniformBuffer

FOpenGLUniformBuffer

References

Module

OpenGLDrv

Header

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

Include

#include "OpenGLResources.h"

Syntax

class FOpenGLUniformBuffer : public FRHIUniformBuffer

Variables

Name Description

Public variable

FOpenGLAssertRH...

 

AccessFence

Public variable

uint32

 

AllocatedSize

The size of the buffer allocated to hold the uniform buffer contents. May be larger than necessary.

Public variable

bool

 

bStreamDraw

True if the uniform buffer is not used across frames.

Public variable

FOpenGLAssertRH...

 

CopyFence

Public variable

FOpenGLEUniform...

 

EmulatedBufferData

Emulated uniform data for ES2.

Public variable

uint32

 

Offset

The offset of the uniform buffer's contents in the resource.

Public variable

uint8 *

 

PersistentlyMappedBuffer

When using a persistently mapped buffer this is a pointer to the CPU accessible data.

Public variable

GLuint

 

Resource

The GL resource for this uniform buffer.

Public variable

TArray< TRefCou...

 

ResourceTable

Resource table containing RHI references.

Public variable

uint32

 

UniqueID

Unique ID for state shadowing purposes.

Constructors

Name Description

Public function

FOpenGLUniformBuffer

(
    const FRHIUniformBufferLayout*...
)

Initialization constructor.

Destructors

Name Description

Public function

~FOpenGLUniformBuffer()

Destructor.

Functions

Name Description

Public function

void

 

SetGLUniformBufferParams

(
    GLuint InResource,
    uint32 InOffset,
    uint8* InPersistentlyMappedBuf...,
    uint32 InAllocatedSize,
    FOpenGLEUniformBufferDataRef InEmul...,
    bool bInStreamDraw
)