|
TextureCacheCacheTexture(ShaderResourceView, Boolean, String) Method |
CacheTexture stores the texture (as ShaderResourceView) as cached texture created from the originalObject.
Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax public SharedDXResourceWrapper<ShaderResourceView> CacheTexture(
ShaderResourceView textureView,
bool hasTransparency,
string textureFileName
)
Parameters
- textureView ShaderResourceView
- ShaderResourceView
- hasTransparency Boolean
- true if texture has transparent colors
- textureFileName String
- file name of the texture
Return Value
SharedDXResourceWrapperShaderResourceViewShaderResourceView wrapped by SharedDXResourceWrapper
See Also