Special constructor for creating custom shaders and images or reusing existing instances.
View code on GitHub Namespace: DeltaEngine.ContentAssembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
public Material(
Shader customShader,
Image customDiffuseMap
)
public Material(
Shader customShader,
Image customDiffuseMap
)
Public Sub New (
customShader As Shader,
customDiffuseMap As Image
)
Public Sub New (
customShader As Shader,
customDiffuseMap As Image
)
public:
Material(
Shader^ customShader,
Image^ customDiffuseMap
)
public:
Material(
Shader^ customShader,
Image^ customDiffuseMap
)
new :
customShader : Shader *
customDiffuseMap : Image -> Material
new :
customShader : Shader *
customDiffuseMap : Image -> Material