 |
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: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
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