Navigation
API > API/Runtime > API/Runtime/OpenGLDrv
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
| Type | Name | Description | |
|---|---|---|---|
| uint32 | AllocatedSize | The size of the buffer allocated to hold the uniform buffer contents. May be larger than necessary. | |
| bool | bIsEmulatedUniformBuffer | True if the uniform buffer is emulated | |
| bool | bStreamDraw | True if the uniform buffer is not used across frames. | |
| FOpenGLEUniformBufferDataRef | EmulatedBufferData | Emulated uniform data for ES2. | |
| uint32 | Offset | The offset of the uniform buffer's contents in the resource. | |
| uint8 * | PersistentlyMappedBuffer | When using a persistently mapped buffer this is a pointer to the CPU accessible data. | |
| GLuint | Resource | The GL resource for this uniform buffer. | |
| uint32 | UniqueID | Unique ID for state shadowing purposes. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FOpenGLUniformBuffer
(
const FRHIUniformBufferLayout* InLayout |
Initialization constructor. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Destructor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TArray< TRefCountPtr< FRHIResource > > & | Provides public non-const access to ResourceTable. | ||
| void | SetGLUniformBufferParams
(
GLuint InResource, |
||
| void | SetLayoutTable
(
const void* Contents, |