Click or drag to resize
AB4D logo

StandardMaterial(ShaderResourceView, Boolean) Constructor

StandardMaterial constructor with diffuse texture specified with textureShaderResourceView

Namespace: Ab3d.DirectX.Materials
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax
C#
public StandardMaterial(
	ShaderResourceView textureShaderResourceView,
	bool hasTransparency
)

Parameters

textureShaderResourceView  ShaderResourceView
texture as ShaderResourceView
hasTransparency  Boolean
Boolean that specifies if the loaded image has transparency
See Also