|
WpfMaterialLoadTexture2D(DXDevice, String) Method |
Namespace: Ab3d.DirectX.MaterialsAssembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.0.8865.1045
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