API

Interface GsShaderFragment

Data-only descriptor of a GS shader plugin. Lite equivalent of a BJS MaterialPluginBase: snippets get spliced into the four GS fragment slots.

interface GsShaderFragment {
    fragmentSlots?: Partial<Record<GsFragmentSlot, string>>;
    helperFunctions?: string;
    id: string;
}
Index
fragmentSlots?: Partial<Record<GsFragmentSlot, string>>
helperFunctions?: string
id: string