Index buffer 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 the index buffer. | |
Index buffer transition info.
RESOURCE_STATE Diligent::GLTF::ResourceManager::TransitionResourceStatesInfo::IndexBufferInfo::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 index buffer state will not be changed.
bool Diligent::GLTF::ResourceManager::TransitionResourceStatesInfo::IndexBufferInfo::Update = true |
Whether to update the index buffer.
Setting this flag to true is equivalent to calling UpdateIndexBuffer().