37 m_UsageState(D3D12_RESOURCE_STATE_COMMON)
41 D3D12_RESOURCE_STATES GetState()
const{
return m_UsageState;}
42 void SetState(D3D12_RESOURCE_STATES UsageState){m_UsageState = UsageState;}
43 bool CheckAllStates(D3D12_RESOURCE_STATES States)
const{
return (m_UsageState & States) == States;}
44 bool CheckAnyState(D3D12_RESOURCE_STATES States)
const{
return (m_UsageState & States) != 0;}
48 D3D12_RESOURCE_STATES m_UsageState;
Namespace for the OpenGL implementation of the graphics engine.
Definition: BufferD3D11Impl.h:34
Base implementation of a D3D12 resource.
Definition: D3D12ResourceBase.h:33
CComPtr< ID3D12Resource > m_pd3d12Resource
D3D12 buffer object.
Definition: D3D12ResourceBase.h:50