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

Vertex buffers 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 vertex buffers.
 

Detailed Description

Vertex buffers transition info.

Member Data Documentation

◆ NewState

RESOURCE_STATE Diligent::GLTF::ResourceManager::TransitionResourceStatesInfo::VertexBuffersInfo::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 vertex buffers states will not be changed.

◆ Update

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

Whether to update vertex buffers.

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