Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SortTransformUtility

Hierarchy

  • SortTransformUtility

Index

Methods

Static asValidJSON

  • asValidJSON(json: string): string

Static fetchDrawOrder

  • fetchDrawOrder(uncommentedTechniqueSource: string): string
  • Fetch draw order preference from technique source.

    Parameters

    • uncommentedTechniqueSource: string

    Returns string

    [description]

Static generateVariableFetchRegex

  • generateVariableFetchRegex(variableType: string): RegExp

Static obtainNextSection

  • obtainNextSection(source: string, begin: string, end: string, offset: number): string

Static parseMacros

  • parseMacros(source: string): object

Static parsePreferences

  • parsePreferences(source: string): IState

Static parseVariables

  • parseVariables(source: string, variableType: string): object

Static removeComment

  • removeComment(source: string): string

Static removePreferences

  • removePreferences(source: string): string

Static resolveImports

  • resolveImports(uncommentedSource: string): Promise<string>

Static separatePassSource

  • separatePassSource(uncommentedSource: string): string[]
  • Separate technique source with @Pass statement.

    Parameters

    • uncommentedSource: string

    Returns string[]

    [description]

Static separateTechniqueSource

  • separateTechniqueSource(uncommentedSource: string): object
  • Separate .sort shader text with @Technique statements.

    Parameters

    • uncommentedSource: string

    Returns object

    [description]

    • [key: string]: string

Generated using TypeDoc