public static bool DispatchRenderToGlowOutLine(Renderer r, Material mat, int subMesh) { if (GlowOutLineManager.IsGlowOutLineMaterial(mat)) { foreach (GlowOutLineManager Instance in GlowOutLineManager.InstanceList) { Instance.PushRender(r, mat, subMesh); } return(true); } return(false); }
public static bool DispatchMeshToGlowOutLine(Mesh m, Matrix4x4 matrix, Material mat) { if (GlowOutLineManager.IsGlowOutLineMaterial(mat)) { foreach (GlowOutLineManager Instance in GlowOutLineManager.InstanceList) { Instance.PushMesh(m, matrix, mat); } return(true); } return(false); }
public static bool GabageRenderFromGlowOutLine(Renderer r, Material mat) { if (GlowOutLineManager.IsGlowOutLineMaterial(mat)) { foreach (GlowOutLineManager Instance in GlowOutLineManager.InstanceList) { Instance.RemoveRender(r, mat); } return(true); } return(false); }