FOpenGLShaderResourceView

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FRefCountedObject

FOpenGLShaderResourceView

References

Module

OpenGLDrv

Header

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

Include

#include "OpenGLResources.h"

Syntax

class FOpenGLShaderResourceView : public FRefCountedObject

Variables

Name Description

Public variable

FBufferRHIRef

 

BufferRHI

Needed on OS X to force a rebind of the texture buffer to the texture name to workaround radr://18379338

Public variable

uint8

 

Format

Public variable

int32

 

LimitMip

Public variable

uint64

 

ModificationVersion

Protected variable

FOpenGLDynamicR...

 

OpenGLRHI

Protected variable

bool

 

OwnsResource

Public variable

GLuint

 

Resource

OpenGL texture the buffer is bound with

Public variable

GLenum

 

Target

Public variable

FTexture2DRHIRe...

 

Texture2D

Needed on GL <= 4.2 to copy stencil data out of combined depth-stencil surfaces.

Constructors

Name Description

Public function

FOpenGLShaderResourceView

(
    FOpenGLDynamicRHI* InOpenGLRHI,
    GLuint InResource,
    GLenum InTarget
)

Public function

FOpenGLShaderResourceView

(
    FOpenGLDynamicRHI* InOpenGLRHI,
    GLuint InResource,
    GLenum InTarget,
    FRHIBuffer* InBuffer
)

Public function

FOpenGLShaderResourceView

(
    FOpenGLDynamicRHI* InOpenGLRHI,
    GLuint InResource,
    GLenum InTarget,
    FRHIBuffer* InBuffer,
    uint8 InFormat
)

Public function

FOpenGLShaderResourceView

(
    FOpenGLDynamicRHI* InOpenGLRHI,
    GLuint InResource,
    GLenum InTarget,
    GLuint Mip,
    bool InOwnsResource
)

Destructors

Name Description

Public function Virtual

~FOpenGLShaderResourceView()