Kanzi 3.9.16
kanzi::taa::TaaInternals Struct Reference

#include <kanzi/core.ui/graphics3d/taa_composition_render_pass.hpp>

Classes

struct  BatchPVMVVariant
 
struct  PVMVVariant
 
struct  ResolveVariant
 

Public Types

enum  { kMaxPosAttribVariants }
 
enum  { kMaxBatchIdAttribVariants }
 
enum  { kMaxBatchWorldMatrices }
 
enum  { kResolveVariantCount }
 

Public Member Functions

void bindMVDepthAttachment (GLuint exportDepthTexGL)
 
void blitCompositionDepthToExport (GLuint compositionDepthTexGL, GLuint exportDepthTexGL, unsigned int w, unsigned int h)
 
bool blitCompositionFboDepthToExport (GLint compositionFBO, GLuint exportDepthTexGL, unsigned int w, unsigned int h)
 
void blitToComposition (GLuint compositionFBO, unsigned int vpW, unsigned int vpH)
 
void cleanup ()
 
void clearExportDepthTexture (GLuint depthTexGL, unsigned int w, unsigned int h)
 
void clearMV ()
 
void ensureResources (unsigned int width, unsigned int height, int colorPixelFormat, bool forceFullResMv=false)
 
GLuint getAnyPerVertexMVProgram () const
 
GLuint getCounterReadTex () const
 
GLuint getCounterWriteTex () const
 
GLuint getHistoryReadTex () const
 
GLuint getHistoryWriteTex () const
 
bool hasCounter () const
 
bool hasHistory () const
 
void invalidateStableDepth ()
 
void renderDebugVisualizeMV (GLuint compositionFBO, unsigned int vpW, unsigned int vpH)
 
bool renderPerVertexMV (TaaManager &taa, Renderer3D &renderer3D, Renderer *coreRenderer)
 
void renderPerVertexMVBatch (TaaManager &taa)
 
void renderResolve (GLuint compositionColorTexGL)
 
void replayMvDrawObjects (TaaManager &taa, Renderer *coreRenderer)
 
bool seedExportFromCompositionDepth (GLuint compositionDepthTexGL, GLint compositionFBO, GLuint exportDepthTexGL, unsigned int w, unsigned int h)
 
bool seedHistoryFromComposition (GLuint compositionFBO, unsigned int vpW, unsigned int vpH)
 
void swapHistory ()
 
void syncMvResolution (unsigned int colorW, unsigned int colorH, bool fullRes)
 
 ~TaaInternals ()
 

Public Attributes

GLuint backgroundTextureGL
 
float backgroundViewportH
 
float backgroundViewportW
 
float backgroundViewportX
 
float backgroundViewportY
 
BatchPVMVVariant batchPvmvVariants [kMaxPosAttribVariants][kMaxBatchIdAttribVariants]
 
unsigned int bridgeSettleRemaining
 
GLuint counterTexA
 
GLuint counterTexB
 
GLint debugMvVisLoc_Scale
 
GLint debugMvVisLoc_Texture0
 
GLint debugMvVisLoc_Viewport
 
GLuint debugMvVisProgramGL
 
float debugMvVisScale
 
bool debugMvVisStaticUniformsSet
 
bool debugVisualizeMV
 
bool depthResyncActive
 
unsigned int depthWarmupRemaining
 
float exposure
 
uint64_t frameIndex
 
int histFormatKey
 
unsigned int histH
 
GLuint histInternalFormat
 
GLuint historyTexA
 
GLuint historyTexB
 
bool historyValid
 
GLuint histUploadFormat
 
GLuint histUploadType
 
unsigned int histW
 
bool initialized
 
float jitterCurrUVX
 
float jitterCurrUVY
 
GLuint lastBackgroundTextureGL
 
GLuint lastCompositionColorTex
 
GLuint lastExportDepthTexGL
 
uint64_t lastMvSceneHash
 
size_t lastSeenMvBatchCount
 
size_t lastSeenMvMeshCount
 
unsigned int lastStableDepthH
 
float lastStableDepthVP [16]
 
unsigned int lastStableDepthW
 
size_t lastStableMvBatchCount
 
size_t lastStableMvMeshCount
 
bool lastUseBackgroundTexture
 
bool lastUseFastResolve
 
bool lastUseParticleResolve
 
bool lastUseQualityResolve
 
bool mvAllowClearExportFar
 
GLuint mvDepthRBO
 
GLuint mvExportDepthTexGL
 
GLuint mvFBO
 
GLuint mvFillCompositionDepthTexGL
 
GLint mvFillCompositionFBO
 
unsigned int mvHeight
 
bool mvPreserveDepthOnRewrite
 
bool mvRewriteDepth
 
GLuint mvTextureGL
 
unsigned int mvWidth
 
PVMVVariant pvmvVariants [kMaxPosAttribVariants]
 
GLuint quadVAO
 
GLuint quadVBO
 
bool readIsA
 
size_t recentPeakMvMeshCount
 
GLint resBgLoc_BackgroundViewport
 
GLint resBgLoc_Exposure
 
GLint resBgLoc_Texture0
 
GLint resBgLoc_Texture1
 
GLint resBgLoc_Texture2
 
GLint resBgLoc_Texture3
 
GLint resBgLoc_UseBackground
 
GLint resBgLoc_Viewport
 
GLint resLoc_BackgroundViewport
 
GLint resLoc_Exposure
 
GLint resLoc_Texture0
 
GLint resLoc_Texture1
 
GLint resLoc_Texture2
 
GLint resLoc_Texture3
 
GLint resLoc_UseBackground
 
GLint resLoc_Viewport
 
GLuint resolveBackgroundProgramGL
 
bool resolveBackgroundStaticUniformsSet
 
bool resolveBackgroundUseUniformValid
 
bool resolveBackgroundUseUniformValue
 
GLuint resolveFBO
 
GLuint resolveProgramGL
 
bool resolveStaticUniformsSet
 
bool resolveUseBackgroundUniformValid
 
bool resolveUseBackgroundUniformValue
 
ResolveVariant resolveVariants [kResolveVariantCount]
 
bool stableDepthValid
 
bool useBackgroundTexture
 
bool useFastResolve
 
bool useParticleResolve
 
bool useQualityResolve
 
float viewMoving
 
bool wasEnabledLastFrame
 

Static Public Attributes

static const unsigned int kBridgeSettleFrames
 
static const unsigned int kDepthWarmupFrames
 

Member Enumeration Documentation

◆ anonymous enum

Enumerator
kMaxPosAttribVariants 

◆ anonymous enum

Enumerator
kMaxBatchIdAttribVariants 

◆ anonymous enum

Enumerator
kMaxBatchWorldMatrices 

◆ anonymous enum

Enumerator
kResolveVariantCount 

Constructor & Destructor Documentation

◆ ~TaaInternals()

kanzi::taa::TaaInternals::~TaaInternals ( )

Member Function Documentation

◆ getAnyPerVertexMVProgram()

GLuint kanzi::taa::TaaInternals::getAnyPerVertexMVProgram ( ) const
inline

◆ getHistoryReadTex()

GLuint kanzi::taa::TaaInternals::getHistoryReadTex ( ) const
inline

◆ getHistoryWriteTex()

GLuint kanzi::taa::TaaInternals::getHistoryWriteTex ( ) const
inline

◆ getCounterReadTex()

GLuint kanzi::taa::TaaInternals::getCounterReadTex ( ) const
inline

◆ getCounterWriteTex()

GLuint kanzi::taa::TaaInternals::getCounterWriteTex ( ) const
inline

◆ swapHistory()

void kanzi::taa::TaaInternals::swapHistory ( )
inline

◆ hasHistory()

bool kanzi::taa::TaaInternals::hasHistory ( ) const
inline

◆ hasCounter()

bool kanzi::taa::TaaInternals::hasCounter ( ) const
inline

◆ ensureResources()

void kanzi::taa::TaaInternals::ensureResources ( unsigned int width,
unsigned int height,
int colorPixelFormat,
bool forceFullResMv = false )

◆ cleanup()

void kanzi::taa::TaaInternals::cleanup ( )

◆ renderPerVertexMV()

bool kanzi::taa::TaaInternals::renderPerVertexMV ( TaaManager & taa,
Renderer3D & renderer3D,
Renderer * coreRenderer )

◆ renderPerVertexMVBatch()

void kanzi::taa::TaaInternals::renderPerVertexMVBatch ( TaaManager & taa)

◆ replayMvDrawObjects()

void kanzi::taa::TaaInternals::replayMvDrawObjects ( TaaManager & taa,
Renderer * coreRenderer )

◆ clearMV()

void kanzi::taa::TaaInternals::clearMV ( )

◆ bindMVDepthAttachment()

void kanzi::taa::TaaInternals::bindMVDepthAttachment ( GLuint exportDepthTexGL)

◆ renderResolve()

void kanzi::taa::TaaInternals::renderResolve ( GLuint compositionColorTexGL)

◆ blitToComposition()

void kanzi::taa::TaaInternals::blitToComposition ( GLuint compositionFBO,
unsigned int vpW,
unsigned int vpH )

◆ renderDebugVisualizeMV()

void kanzi::taa::TaaInternals::renderDebugVisualizeMV ( GLuint compositionFBO,
unsigned int vpW,
unsigned int vpH )

◆ invalidateStableDepth()

void kanzi::taa::TaaInternals::invalidateStableDepth ( )

◆ clearExportDepthTexture()

void kanzi::taa::TaaInternals::clearExportDepthTexture ( GLuint depthTexGL,
unsigned int w,
unsigned int h )

◆ blitCompositionDepthToExport()

void kanzi::taa::TaaInternals::blitCompositionDepthToExport ( GLuint compositionDepthTexGL,
GLuint exportDepthTexGL,
unsigned int w,
unsigned int h )

◆ blitCompositionFboDepthToExport()

bool kanzi::taa::TaaInternals::blitCompositionFboDepthToExport ( GLint compositionFBO,
GLuint exportDepthTexGL,
unsigned int w,
unsigned int h )

◆ seedExportFromCompositionDepth()

bool kanzi::taa::TaaInternals::seedExportFromCompositionDepth ( GLuint compositionDepthTexGL,
GLint compositionFBO,
GLuint exportDepthTexGL,
unsigned int w,
unsigned int h )

◆ syncMvResolution()

void kanzi::taa::TaaInternals::syncMvResolution ( unsigned int colorW,
unsigned int colorH,
bool fullRes )

◆ seedHistoryFromComposition()

bool kanzi::taa::TaaInternals::seedHistoryFromComposition ( GLuint compositionFBO,
unsigned int vpW,
unsigned int vpH )

Member Data Documentation

◆ resolveProgramGL

GLuint kanzi::taa::TaaInternals::resolveProgramGL

◆ resolveBackgroundProgramGL

GLuint kanzi::taa::TaaInternals::resolveBackgroundProgramGL

◆ debugMvVisProgramGL

GLuint kanzi::taa::TaaInternals::debugMvVisProgramGL

◆ debugMvVisLoc_Texture0

GLint kanzi::taa::TaaInternals::debugMvVisLoc_Texture0

◆ debugMvVisLoc_Viewport

GLint kanzi::taa::TaaInternals::debugMvVisLoc_Viewport

◆ debugMvVisLoc_Scale

GLint kanzi::taa::TaaInternals::debugMvVisLoc_Scale

◆ debugMvVisStaticUniformsSet

bool kanzi::taa::TaaInternals::debugMvVisStaticUniformsSet

◆ pvmvVariants

PVMVVariant kanzi::taa::TaaInternals::pvmvVariants[kMaxPosAttribVariants]

◆ batchPvmvVariants

BatchPVMVVariant kanzi::taa::TaaInternals::batchPvmvVariants[kMaxPosAttribVariants][kMaxBatchIdAttribVariants]

◆ resolveVariants

ResolveVariant kanzi::taa::TaaInternals::resolveVariants[kResolveVariantCount]

◆ resLoc_Texture0

GLint kanzi::taa::TaaInternals::resLoc_Texture0

◆ resLoc_Texture1

GLint kanzi::taa::TaaInternals::resLoc_Texture1

◆ resLoc_Texture2

GLint kanzi::taa::TaaInternals::resLoc_Texture2

◆ resLoc_Texture3

GLint kanzi::taa::TaaInternals::resLoc_Texture3

◆ resLoc_UseBackground

GLint kanzi::taa::TaaInternals::resLoc_UseBackground

◆ resLoc_BackgroundViewport

GLint kanzi::taa::TaaInternals::resLoc_BackgroundViewport

◆ resLoc_Viewport

GLint kanzi::taa::TaaInternals::resLoc_Viewport

◆ resLoc_Exposure

GLint kanzi::taa::TaaInternals::resLoc_Exposure

◆ resBgLoc_Texture0

GLint kanzi::taa::TaaInternals::resBgLoc_Texture0

◆ resBgLoc_Texture1

GLint kanzi::taa::TaaInternals::resBgLoc_Texture1

◆ resBgLoc_Texture2

GLint kanzi::taa::TaaInternals::resBgLoc_Texture2

◆ resBgLoc_Texture3

GLint kanzi::taa::TaaInternals::resBgLoc_Texture3

◆ resBgLoc_UseBackground

GLint kanzi::taa::TaaInternals::resBgLoc_UseBackground

◆ resBgLoc_BackgroundViewport

GLint kanzi::taa::TaaInternals::resBgLoc_BackgroundViewport

◆ resBgLoc_Viewport

GLint kanzi::taa::TaaInternals::resBgLoc_Viewport

◆ resBgLoc_Exposure

GLint kanzi::taa::TaaInternals::resBgLoc_Exposure

◆ mvTextureGL

GLuint kanzi::taa::TaaInternals::mvTextureGL

◆ mvFBO

GLuint kanzi::taa::TaaInternals::mvFBO

◆ mvDepthRBO

GLuint kanzi::taa::TaaInternals::mvDepthRBO

◆ mvWidth

unsigned int kanzi::taa::TaaInternals::mvWidth

◆ mvHeight

unsigned int kanzi::taa::TaaInternals::mvHeight

◆ mvExportDepthTexGL

GLuint kanzi::taa::TaaInternals::mvExportDepthTexGL

◆ mvRewriteDepth

bool kanzi::taa::TaaInternals::mvRewriteDepth

◆ mvPreserveDepthOnRewrite

bool kanzi::taa::TaaInternals::mvPreserveDepthOnRewrite

◆ mvFillCompositionDepthTexGL

GLuint kanzi::taa::TaaInternals::mvFillCompositionDepthTexGL

◆ mvFillCompositionFBO

GLint kanzi::taa::TaaInternals::mvFillCompositionFBO

◆ mvAllowClearExportFar

bool kanzi::taa::TaaInternals::mvAllowClearExportFar

◆ stableDepthValid

bool kanzi::taa::TaaInternals::stableDepthValid

◆ lastExportDepthTexGL

GLuint kanzi::taa::TaaInternals::lastExportDepthTexGL

◆ lastStableDepthW

unsigned int kanzi::taa::TaaInternals::lastStableDepthW

◆ lastStableDepthH

unsigned int kanzi::taa::TaaInternals::lastStableDepthH

◆ lastStableDepthVP

float kanzi::taa::TaaInternals::lastStableDepthVP[16]

◆ lastStableMvMeshCount

size_t kanzi::taa::TaaInternals::lastStableMvMeshCount

◆ lastStableMvBatchCount

size_t kanzi::taa::TaaInternals::lastStableMvBatchCount

◆ lastSeenMvMeshCount

size_t kanzi::taa::TaaInternals::lastSeenMvMeshCount

◆ lastSeenMvBatchCount

size_t kanzi::taa::TaaInternals::lastSeenMvBatchCount

◆ depthWarmupRemaining

unsigned int kanzi::taa::TaaInternals::depthWarmupRemaining

◆ kDepthWarmupFrames

const unsigned int kanzi::taa::TaaInternals::kDepthWarmupFrames
static

◆ bridgeSettleRemaining

unsigned int kanzi::taa::TaaInternals::bridgeSettleRemaining

◆ kBridgeSettleFrames

const unsigned int kanzi::taa::TaaInternals::kBridgeSettleFrames
static

◆ lastMvSceneHash

uint64_t kanzi::taa::TaaInternals::lastMvSceneHash

◆ recentPeakMvMeshCount

size_t kanzi::taa::TaaInternals::recentPeakMvMeshCount

◆ depthResyncActive

bool kanzi::taa::TaaInternals::depthResyncActive

◆ historyTexA

GLuint kanzi::taa::TaaInternals::historyTexA

◆ historyTexB

GLuint kanzi::taa::TaaInternals::historyTexB

◆ readIsA

bool kanzi::taa::TaaInternals::readIsA

◆ histW

unsigned int kanzi::taa::TaaInternals::histW

◆ histH

unsigned int kanzi::taa::TaaInternals::histH

◆ histFormatKey

int kanzi::taa::TaaInternals::histFormatKey

◆ histInternalFormat

GLuint kanzi::taa::TaaInternals::histInternalFormat

◆ histUploadFormat

GLuint kanzi::taa::TaaInternals::histUploadFormat

◆ histUploadType

GLuint kanzi::taa::TaaInternals::histUploadType

◆ resolveFBO

GLuint kanzi::taa::TaaInternals::resolveFBO

◆ counterTexA

GLuint kanzi::taa::TaaInternals::counterTexA

◆ counterTexB

GLuint kanzi::taa::TaaInternals::counterTexB

◆ quadVAO

GLuint kanzi::taa::TaaInternals::quadVAO

◆ quadVBO

GLuint kanzi::taa::TaaInternals::quadVBO

◆ initialized

bool kanzi::taa::TaaInternals::initialized

◆ exposure

float kanzi::taa::TaaInternals::exposure

◆ jitterCurrUVX

float kanzi::taa::TaaInternals::jitterCurrUVX

◆ jitterCurrUVY

float kanzi::taa::TaaInternals::jitterCurrUVY

◆ viewMoving

float kanzi::taa::TaaInternals::viewMoving

◆ frameIndex

uint64_t kanzi::taa::TaaInternals::frameIndex

◆ useParticleResolve

bool kanzi::taa::TaaInternals::useParticleResolve

◆ useFastResolve

bool kanzi::taa::TaaInternals::useFastResolve

◆ useQualityResolve

bool kanzi::taa::TaaInternals::useQualityResolve

◆ useBackgroundTexture

bool kanzi::taa::TaaInternals::useBackgroundTexture

◆ debugVisualizeMV

bool kanzi::taa::TaaInternals::debugVisualizeMV

◆ debugMvVisScale

float kanzi::taa::TaaInternals::debugMvVisScale

◆ backgroundTextureGL

GLuint kanzi::taa::TaaInternals::backgroundTextureGL

◆ resolveStaticUniformsSet

bool kanzi::taa::TaaInternals::resolveStaticUniformsSet

◆ resolveUseBackgroundUniformValid

bool kanzi::taa::TaaInternals::resolveUseBackgroundUniformValid

◆ resolveUseBackgroundUniformValue

bool kanzi::taa::TaaInternals::resolveUseBackgroundUniformValue

◆ resolveBackgroundStaticUniformsSet

bool kanzi::taa::TaaInternals::resolveBackgroundStaticUniformsSet

◆ resolveBackgroundUseUniformValid

bool kanzi::taa::TaaInternals::resolveBackgroundUseUniformValid

◆ resolveBackgroundUseUniformValue

bool kanzi::taa::TaaInternals::resolveBackgroundUseUniformValue

◆ backgroundViewportX

float kanzi::taa::TaaInternals::backgroundViewportX

◆ backgroundViewportY

float kanzi::taa::TaaInternals::backgroundViewportY

◆ backgroundViewportW

float kanzi::taa::TaaInternals::backgroundViewportW

◆ backgroundViewportH

float kanzi::taa::TaaInternals::backgroundViewportH

◆ lastUseParticleResolve

bool kanzi::taa::TaaInternals::lastUseParticleResolve

◆ lastUseFastResolve

bool kanzi::taa::TaaInternals::lastUseFastResolve

◆ lastUseQualityResolve

bool kanzi::taa::TaaInternals::lastUseQualityResolve

◆ lastUseBackgroundTexture

bool kanzi::taa::TaaInternals::lastUseBackgroundTexture

◆ lastBackgroundTextureGL

GLuint kanzi::taa::TaaInternals::lastBackgroundTextureGL

◆ historyValid

bool kanzi::taa::TaaInternals::historyValid

◆ lastCompositionColorTex

GLuint kanzi::taa::TaaInternals::lastCompositionColorTex

◆ wasEnabledLastFrame

bool kanzi::taa::TaaInternals::wasEnabledLastFrame

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