UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FOpenGLFramebufferKey Class Reference

Public Member Functions

 FOpenGLFramebufferKey (uint32 InNumRenderTargets, FOpenGLTexture **InRenderTargets, const uint32 *InRenderTargetArrayIndices, const uint32 *InRenderTargetMipmapLevels, FOpenGLTexture *InDepthStencilTarget, FExclusiveDepthStencil DepthStencilAccess, int32 InNumRenderingSamples)
 
const FOpenGLTextureGetRenderTarget (int32 Index) const
 
const FOpenGLTextureGetDepthStencilTarget (void) const
 
int32 GetNumRenderingSamples (void) const
 

Friends

bool operator== (const FOpenGLFramebufferKey &A, const FOpenGLFramebufferKey &B)
 
uint32 GetTypeHash (const FOpenGLFramebufferKey &Key)
 

Detailed Description

Key used to map a set of unique render/depth stencil target combinations to a framebuffer resource

Constructor & Destructor Documentation

◆ FOpenGLFramebufferKey()

FOpenGLFramebufferKey::FOpenGLFramebufferKey ( uint32  InNumRenderTargets,
FOpenGLTexture **  InRenderTargets,
const uint32 InRenderTargetArrayIndices,
const uint32 InRenderTargetMipmapLevels,
FOpenGLTexture InDepthStencilTarget,
FExclusiveDepthStencil  DepthStencilAccess,
int32  InNumRenderingSamples 
)
inline

Member Function Documentation

◆ GetDepthStencilTarget()

const FOpenGLTexture * FOpenGLFramebufferKey::GetDepthStencilTarget ( void  ) const
inline

◆ GetNumRenderingSamples()

int32 FOpenGLFramebufferKey::GetNumRenderingSamples ( void  ) const
inline

◆ GetRenderTarget()

const FOpenGLTexture * FOpenGLFramebufferKey::GetRenderTarget ( int32  Index) const
inline

Friends And Related Symbol Documentation

◆ GetTypeHash

uint32 GetTypeHash ( const FOpenGLFramebufferKey Key)
friend

Get the hash for this type.

Parameters
Key- struct to hash
Returns
uint32 hash based on type

◆ operator==

bool operator== ( const FOpenGLFramebufferKey A,
const FOpenGLFramebufferKey B 
)
friend

Equality is based on render and depth stencil targets

Parameters
Other- instance to compare against
Returns
true if equal

The documentation for this class was generated from the following file: