void GfxGraphicsCommandList::ResourceBarrier( GfxTexture& texture, GfxResourceStates before, GfxResourceStates after, GfxResourceBarrierFlag flag) { m_base->ResourceBarrier( texture.GetBaseTexture()->GetNativeResource(), before, after, flag); }
int GfxGraphicsCommandList::UploadTexture( GfxDevice& device, GfxTexture& targetTexture, const void* srcBuffer, size_t srcBufferSize, GfxResourceState before, GfxResourceState after) { return m_base->UploadTexture( *device.GetBaseDevice(), *targetTexture.GetBaseTexture(), srcBuffer, srcBufferSize, before, after); }