MCPcopy Create free account
hub / github.com/NVIDIA-RTX/NVRHI / getTextureSubresourceState

Method getTextureSubresourceState

src/validation/validation-commandlist.cpp:1148–1154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1146 }
1147
1148 ResourceStates CommandListWrapper::getTextureSubresourceState(ITexture* texture, ArraySlice arraySlice, MipLevel mipLevel)
1149 {
1150 if (!requireOpenState())
1151 return ResourceStates::Common;
1152
1153 return m_CommandList->getTextureSubresourceState(texture, arraySlice, mipLevel);
1154 }
1155
1156 ResourceStates CommandListWrapper::getBufferState(IBuffer* buffer)
1157 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected