Click or drag to resize
AB4D logo

DXCubeMap(String, String, String, String, String, String, String, DXDevice) Constructor

CreateFromBitmapSources method creates a cube map (as ShaderResourceView) from 6 different resource names that represent BitmapImages. 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(
	string packUriPrefix,
	string rightBitmapResourceName,
	string leftBitmapResourceName,
	string upBitmapResourceName,
	string downBitmapResourceName,
	string frontBitmapResourceName,
	string backBitmapResourceName,
	DXDevice dxDevice = null
)

Parameters

packUriPrefix  String
prefix of the full uri pack resource name that will be added before each resource name - for example: pack://application:,,,/Ab3d.DXEngine.Wpf.Samples;component/Resources/SkyboxTextures/
rightBitmapResourceName  String
rightBitmapResourceName
leftBitmapResourceName  String
leftBitmapResourceName
upBitmapResourceName  String
upBitmapResourceName
downBitmapResourceName  String
downBitmapResourceName
frontBitmapResourceName  String
frontBitmapResourceName
backBitmapResourceName  String
backBitmapResourceName
dxDevice  DXDevice  (Optional)
DXDevice

Return Value

ShaderResourceView with cube map
See Also