FOpenGLTextureBase

Windows
MacOS
Linux

Inheritance Hierarchy

FOpenGLTextureBase

TOpenGLTexture

Syntax

class FOpenGLTextureBase

Variables

Name Description

Public variable

GLenum

 

Attachment

The OpenGL attachment point.

Public variable

FOpenGLAssertRH...

 

CreationFence

Public variable

uint32

 

NumMips

The number of mips in the texture.

Protected variable

FOpenGLDynamicR...

 

OpenGLRHI

Public variable

GLuint

 

Resource

The OpenGL texture resource.

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.

Functions

Name Description

Public function

void

 

AliasResources

(
    FOpenGLTextureBase* Texture
)

Public function Const

int32

 

GetMemorySize()

Public function Const

bool

 

IsAliased()

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
)

References

Module

OpenGLDrv

Header

Runtime/OpenGLDrv/Public/OpenGLResources.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback