|
TextureCacheCacheTexture(ShaderResourceView, Boolean, Object) 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,
Object originalObject
)
Parameters
- textureView ShaderResourceView
- ShaderResourceView
- hasTransparency Boolean
- true if texture has transparent colors
- originalObject Object
- originalObject
Return Value
SharedDXResourceWrapperShaderResourceViewShaderResourceView wrapped by SharedDXResourceWrapper
See Also