Table of Contents

Method CreateMaterial

Namespace
Pinwheel.Vista
Assembly
Pinwheel.Vista.Runtime.dll

CreateMaterial(string)

Creates a material from a shader resolved through Find(string).

public static Material CreateMaterial(string shaderName)

Parameters

shaderName string

Name of the shader to look up.

Returns

Material

A new material if the shader is found; otherwise null.