I want to render to part of a texture in direct x 11.
Is there a simple way to just set the render target view to part of the texture?
If not, is there a better way. Thanks!
I want to render to part of a texture in direct x 11.
Is there a simple way to just set the render target view to part of the texture?
If not, is there a better way. Thanks!
Copyright © 2021 Jogjafile Inc.
OMSetRenderTargetsto the render target you want to useRSSetViewportsto the viewport on the RT you want to render to.RSSetScissorRectsto ensure things are properly clipped to your viewport.