| CreateStandardTextureMaterial(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.
|
| CreateStandardTextureMaterial(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.
|