https://github.com/ousttrue/vroverlaysample
openvr samples
https://github.com/ousttrue/vroverlaysample
Last synced: 8 months ago
JSON representation
openvr samples
- Host: GitHub
- URL: https://github.com/ousttrue/vroverlaysample
- Owner: ousttrue
- License: mit
- Created: 2020-04-30T01:27:07.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-30T15:23:01.000Z (about 6 years ago)
- Last Synced: 2025-01-20T23:28:58.343Z (over 1 year ago)
- Language: C++
- Size: 19.5 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# VROverlaySample
openvr samples
## vrorigin
* overlay で原点に十字を表示する
* vr::TextureType_DirectX で ID3D11Texture2D を OpenVR に渡す
* 表示条件が不明で、毎フレームSetOverlayTextureをコールしている
### TODO:
* [ ] 一枚の画像で良さそう
## desktopdup
* Desktopを表示する
* vr::TextureType_DXGISharedHandle で ID3D11Texture2D の共有ハンドルを OpenVR に渡す
* 表示条件が、毎フレームソースになるテクスチャの更新ぽい?
### TODO:
* [ ] カーソル合成のアルファブレンド