Update texture in OculusRoomTiny example (DX11)
Hi!
I've been digging through the wonderful examples in the 0.8 SDK and I've been writing my own application by modifying the tiny room example. I'm currently stuck on trying to update a texture dynamically (every other frame or so), and my DX11-fu is not nearly strong enough to figure it out.
Does anyone know how to update for example one of the walls to use data from an image frame (assume data is well formatted in an array with size known)?
The Win32_DirectXAppUtil.h has a Texture struct that seems to be the right place but I cant figure out what I need to do.
Thanks for any help!
I've been digging through the wonderful examples in the 0.8 SDK and I've been writing my own application by modifying the tiny room example. I'm currently stuck on trying to update a texture dynamically (every other frame or so), and my DX11-fu is not nearly strong enough to figure it out.
Does anyone know how to update for example one of the walls to use data from an image frame (assume data is well formatted in an array with size known)?
The Win32_DirectXAppUtil.h has a Texture struct that seems to be the right place but I cant figure out what I need to do.
Thanks for any help!
