 |
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: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
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
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Materials.StandardMaterial.#ctor(Ab4d.SharpEngine.Core.GpuImage,Ab4d.SharpEngine.Common.CommonSamplerTypes,System.String)"]
See Also