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.0.8865.1045
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