UNPKG

@awayjs/renderer

Version:
16 lines (14 loc) 521 B
/** * MethodVO contains data for a given shader object for the use within a single material. * This allows shader methods to be shared across materials while their non-public state differs. */ export class ChunkVO { public useChunk: boolean; // internal stuff for the material to know before assembling code public needsProjection: boolean; public needsView: boolean; public needsNormals: boolean; public needsTangents: boolean; public needsGlobalVertexPos: boolean; public needsGlobalFragmentPos: boolean; }