ShaderUtil.GetShaderData

public static ShaderData GetShaderData(Shader shader);

Parameters

shaderThe shader to get data from.

Returns

ShaderData The shader data for the provided shader.

Description 描述

Get the shader data for a specific shader.