Click or drag to resize
AB4D logo

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.Materials
Assembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.0.8865.1045
Syntax
C#
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