|
DXCubeMap(BitmapSource, BitmapSource, BitmapSource, BitmapSource, BitmapSource, BitmapSource, DXDevice) Constructor |
CreateFromBitmapSources method creates a cube map (as ShaderResourceView) from 6 different BitmapSources.
Each bitmap image can be also flipped if needed.
Namespace: Ab3d.DirectX.MaterialsAssembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.1.9105.2048
Syntax public DXCubeMap(
BitmapSource rightBitmapSource,
BitmapSource leftBitmapSource,
BitmapSource upBitmapSource,
BitmapSource downBitmapSource,
BitmapSource frontBitmapSource,
BitmapSource backBitmapSource,
DXDevice dxDevice = null
)
Parameters
- rightBitmapSource BitmapSource
- rightBitmapSource
- leftBitmapSource BitmapSource
- leftBitmapSource
- upBitmapSource BitmapSource
- upBitmapSource
- downBitmapSource BitmapSource
- downBitmapSource
- frontBitmapSource BitmapSource
- frontBitmapSource
- backBitmapSource BitmapSource
- backBitmapSource
- dxDevice DXDevice (Optional)
- DXDevice
Return Value
ShaderResourceView with cube map
See Also