Click or drag to resize
AB4D logo

TextureLoaderCreateStandardTextureMaterial Method

Overload List
 NameDescription
Public methodStatic memberCreateStandardTextureMaterial(DXDevice, String) CreateStandardTextureMaterial method can load image png, jpg, tiff, gif, bmp, ico or dds file and create a StandardMaterial. The loaded texture is set to the DiffuseTextures property. The method also sets the TextureBlendState and HasTransparency properties. The returned StandardMaterial and the ShaderResourceView that is set to the DiffuseTextures must be manually disposed by the user.
Public methodStatic memberCreateStandardTextureMaterial(DXDevice, String, Boolean, Boolean, Boolean) CreateStandardTextureMaterial method can load image png, jpg, tiff, gif, bmp, ico or dds file and create a StandardMaterial. The loaded texture is set to the DiffuseTextures property. The method also sets the TextureBlendState and HasTransparency properties. The returned StandardMaterial and the ShaderResourceView that is set to the DiffuseTextures must be manually disposed by the user.
Top
See Also