FOpenGLTextureBase

Windows
MacOS
Linux

Inheritance Hierarchy

FOpenGLTextureBase

TOpenGLTexture

References

Module

OpenGLDrv

Header

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

Include

#include "OpenGLResources.h"

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
)

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