 |
StandardMaterial(GpuImage, CommonSamplerTypes, String) Constructor |
StandardMaterial constructor with diffuse texture.
The textureImage is not disposed when disposing this material.
Namespace: Ab4d.SharpEngine.MaterialsAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
Syntaxpublic StandardMaterial(
GpuImage textureImage,
CommonSamplerTypes samplerType = CommonSamplerTypes.Mirror,
string? name = null
)
Parameters
- textureImage GpuImage
- texture as GpuImage
- samplerType CommonSamplerTypes (Optional)
- samplerType (Mirror by default)
- name String (Optional)
- optional material name
See Also