Replies: 1 comment
-
|
Yeah it looks good. I just don't think you need to use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We have a need to be able to use an externally provided D3D texture to bgfx where the D3D texture is a texture array. One example where the source texture is an array is when it is coming from a media foundation video. In order to select the correct texture from the array, we need to set the
FirstArraySliceof the D3D11_TEX2D_ARRAY_SRV. Since the D3D shader resource view is created inside bgfx'soverrideInternalfunction, we need a way to set this property there.I mocked up an implementation that does this, but it's clunky because it's D3D specific and
overrideInternalis obviously not. I only implemented it for D3D11 for now.@bkaradzic Any thoughts on whether this is okay or not?
Beta Was this translation helpful? Give feedback.
All reactions