FOpenGLShaderResourceView

Inheritance Hierarchy

FRefCountedObject

FOpenGLShaderResourceView

Syntax

class FOpenGLShaderResourceView : public FRefCountedObject

Variables

Name Description

Public variable

uint8

 

Format

Public variable

int32

 

LimitMip

Public variable

uint64

 

ModificationVersion

Protected variable

FOpenGLDynamicR ...

 

OpenGLRHI

Protected variable

bool

 

OwnsResource

Public variable

GLuint

 

Resource

In OpenGL 3.2, the only view that actually works is a Buffer kind of view from D3D10, and it's mapped to OpenGL's buffer texture.

Public variable

GLenum

 

Target

Public variable

FTexture2DRHIRe ...

 

Texture2D

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

Public variable

FVertexBufferRH ...

 

VertexBuffer

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

Constructors

Name Description

Public function

FOpenGLShaderResourceView

(
    FOpenGLDynamicRHI * InOpenGLRHI,
    GLuint InResource,
    GLenum InTarget
)

Public function

FOpenGLShaderResourceView

(
    FOpenGLDynamicRHI * InOpenGLRHI,
    GLuint InResource,
    GLenum InTarget,
    FVertexBufferRHIParamRef InVertexBu...,
    uint8 InFormat
)

Public function

FOpenGLShaderResourceView

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

Destructors

Name Description

Public function Virtual

~FOpenGLShaderResourceView()

Functions

Name Description

Public function

void

 

SetGLParameters

(
    GLuint InResource,
    GLenum InTarget
)

References

Module

OpenGLDrv

Header

Runtime/OpenGLDrv/Public/OpenGLResources.h