|
WpfMaterialLoadTexture2D(DXDevice, String) Method |
Namespace: Ab3d.DirectX.MaterialsAssembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.1.9105.2048
Syntax public static ShaderResourceView LoadTexture2D(
DXDevice dxDevice,
string fileName
)
Parameters
- dxDevice DXDevice
- DXDevice used to create the texture
- fileName String
- file name of the texture
Return Value
ShaderResourceViewShaderResourceView for the loaded 2D Texture or null if the texture cannot be created.
See Also