Click or drag to resize
AB4D logo

TextureCacheCacheTexture(ShaderResourceView, Boolean, Object) Method

CacheTexture stores the texture (as ShaderResourceView) as cached texture created from the originalObject.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
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

SharedDXResourceWrapperShaderResourceView
ShaderResourceView wrapped by SharedDXResourceWrapper
See Also