Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::GLTF::ResourceManager::TransitionResourceStatesInfo::TextureAtlasesInfo Struct Reference

Texture atlases transition info. More...

#include <GLTFResourceManager.hpp>

Public Attributes

RESOURCE_STATE OldState = RESOURCE_STATE_UNKNOWN
 Old state that is passed to the OldState member of the StateTransitionDesc structure.
 
RESOURCE_STATE NewState = RESOURCE_STATE_UNKNOWN
 New state that is passed to the NewState member of the StateTransitionDesc structure.
 
STATE_TRANSITION_FLAGS Flags = STATE_TRANSITION_FLAG_UPDATE_STATE
 Flags that are passed to the Flags member of the StateTransitionDesc structure.
 
bool Update = true
 Whether to update texture atlases.
 

Detailed Description

Texture atlases transition info.

Member Data Documentation

◆ NewState

RESOURCE_STATE Diligent::GLTF::ResourceManager::TransitionResourceStatesInfo::TextureAtlasesInfo::NewState = RESOURCE_STATE_UNKNOWN

New state that is passed to the NewState member of the StateTransitionDesc structure.

If NewState is Diligent::RESOURCE_STATE_UNKNOWN, the texture atlases states will not be changed.

◆ Update

bool Diligent::GLTF::ResourceManager::TransitionResourceStatesInfo::TextureAtlasesInfo::Update = true

Whether to update texture atlases.

Setting this flag to true is equivalent to calling UpdateTextures().