|
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.1.9105.2048 (1.0.0.0)
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