FOpenGLTextureBase

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

OpenGLDrv

Header

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

Include

#include "OpenGLResources.h"

Syntax

class FOpenGLTextureBase : public FTextureEvictionInterface

Variables

Name Description

Public variable

GLenum

 

Attachment

The OpenGL attachment point.

Public variable

FOpenGLAssertRH...

 

CreationFence

Public variable

TUniquePtr< FTe...

 

EvictionParamsPtr

Public variable

uint32

 

NumMips

The number of mips in the texture.

Public variable

FOpenGLSamplerS...

 

SamplerState

Pointer to current sampler state in this unit.

Public variable

GLuint

 

SRVResource

OpenGL 3 Stencil/SRV workaround texture resource

Public variable

GLenum

 

Target

The OpenGL texture target.

Constructors

Name Description

Public function

FOpenGLTextureBase

(
    FOpenGLDynamicRHI* InOpenGLRHI,
    GLuint InResource,
    GLenum InTarget,
    uint32 InNumMips,
    GLenum InAttachment
)

Initialization constructor.

Destructors

Name Description

Public function Virtual

~FOpenGLTextureBase()

Functions

Name Description

Public function

void

 

AliasResources

(
    FOpenGLTextureBase* Texture
)

Public function Const

int32

 

GetMemorySize()

Public function Const

GLuint

 

GetRawResourceName()

GetRawResourceName - A const accessor to the resource name, this could potentially be an evicted resource.

Public function Const

const GLuint...

 

GetRawResourceNameRef()

GetRawResourceNameRef - A const accessor to the resource name, this could potentially be an evicted resource.

Public function

GLuint

 

GetResource()

Public function

GLuint &

 

GetResourceRef()

Public function Const

bool

 

IsAliased()

Public function Const

bool

 

IsEvicted()

Public function

bool

 

IsMemorySizeSet()

Public function Const

bool

 

IsPowerOfTwo()

Public function

void

 

SetAliased

(
    const bool bInAliased
)

Public function

void

 

SetIsPowerOfTwo

(
    bool bInIsPowerOfTwo
)

Public function

void

 

SetMemorySize

(
    uint32 InMemorySize
)

Public function

void

 

SetResource

(
    GLuint InResource
)

Constants

Name

Description

OpenGLRHI

Storing this as static as we can be in the >10,000s instances range.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss