mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-22 20:43:09 +00:00
af8a8f17f6
Start on base for BLO. These will probably not be usable for awhile and is wip.. Currently aiming to support more varied layouts so this can help improve the code base. Add BRFNT and BCFNT support. All merged as BXFNT class. Fix bflim 3ds with LA4 textures. Fix loading/saving part panes with property user data. Fix texture coordinates to default centered UVs for layout panes with no textures. Cleanup some files and directories.
53 lines
1.3 KiB
C#
53 lines
1.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace LayoutBXLYT
|
|
{
|
|
public class ShaderLoader
|
|
{
|
|
private static BflytShader cafeShader;
|
|
private static BrlytShader revShader;
|
|
private static BclytShader ctrShader;
|
|
private static BloShader bloShader;
|
|
|
|
public static BflytShader CafeShader
|
|
{
|
|
get
|
|
{
|
|
if (cafeShader == null)
|
|
cafeShader = new BflytShader();
|
|
return cafeShader;
|
|
}
|
|
}
|
|
public static BrlytShader RevShader
|
|
{
|
|
get
|
|
{
|
|
if (revShader == null)
|
|
revShader = new BrlytShader();
|
|
return revShader;
|
|
}
|
|
}
|
|
public static BclytShader CtrShader
|
|
{
|
|
get
|
|
{
|
|
if (ctrShader == null)
|
|
ctrShader = new BclytShader();
|
|
return ctrShader;
|
|
}
|
|
}
|
|
public static BloShader BLOShader
|
|
{
|
|
get
|
|
{
|
|
if (bloShader == null)
|
|
bloShader = new BloShader();
|
|
return bloShader;
|
|
}
|
|
}
|
|
}
|
|
}
|