getShaderGraphMaterial

Gets the attached ShaderGraphMaterial of the VideoMaterial.

Return

The ShaderGraphMaterial that VideoMaterial is using, or null if no ShaderGraphMaterial is attached.

Throws

IllegalStateException

If this material has been closed or is invalid.