Creates a new image with the specified size to be filled dynamically (via .DiffuseMap.Fill).
View code on GitHub Namespace: DeltaEngine.ContentAssembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
public Material(
Size customPixelSize,
ShaderFlags shaderFlags = ShaderFlags.Position2DTextured
)
public Material(
Size customPixelSize,
ShaderFlags shaderFlags = ShaderFlags.Position2DTextured
)
Public Sub New (
customPixelSize As Size,
Optional shaderFlags As ShaderFlags = ShaderFlags.Position2DTextured
)
Public Sub New (
customPixelSize As Size,
Optional shaderFlags As ShaderFlags = ShaderFlags.Position2DTextured
)
public:
Material(
Size customPixelSize,
ShaderFlags shaderFlags = ShaderFlags::Position2DTextured
)
public:
Material(
Size customPixelSize,
ShaderFlags shaderFlags = ShaderFlags::Position2DTextured
)
new :
customPixelSize : Size *
?shaderFlags : ShaderFlags
(* Defaults:
let _shaderFlags = defaultArg shaderFlags ShaderFlags.Position2DTextured
*)
-> Material
new :
customPixelSize : Size *
?shaderFlags : ShaderFlags
(* Defaults:
let _shaderFlags = defaultArg shaderFlags ShaderFlags.Position2DTextured
*)
-> Material