Click or drag to resize
AB4D logo

TextureLoaderLoadShaderResourceView Method

Overload List
 NameDescription
Public methodStatic memberLoadShaderResourceView(Device, String, TextureInfo) LoadShaderResourceViewFrom can load image png, jpg, tiff, gif, bmp, ico or dds file into ShaderResourceView. When loadDdsIfPresent is set to true and file extension is not dds, then loader checks if there is a dds file with the same name but dds file extension present in the same folder as the specified fileName. If dds file exist, it is loaded instead of the file specified with fileName. This can greatly improve load performance and memory usage.
Public methodStatic memberLoadShaderResourceView(Device, String, Boolean, Boolean, Boolean) LoadShaderResourceViewFrom can load image png, jpg, tiff, gif, bmp, ico or dds file into ShaderResourceView. When loadDdsIfPresent is set to true and file extension is not dds, the loader checked if there is a dds file with the same name but dds file extension. If dds file exist, it is loaded instead of the file specified with fileName. This can greatly improve load performance and memory usage.
Public methodStatic memberLoadShaderResourceView(Device, String, Boolean, Boolean, Boolean, TextureInfo) LoadShaderResourceViewFrom can load image png, jpg, tiff, gif, bmp, ico or dds file into ShaderResourceView. When loadDdsIfPresent is set to true and file extension is not dds, then loader checks if there is a dds file with the same name but dds file extension present in the same folder as the specified fileName. If dds file exist, it is loaded instead of the file specified with fileName. This can greatly improve load performance and memory usage.
Top
See Also