type ViewUniforms = {
projectionMatrix: {
current: mat4,
},
projectionViewMatrix: {
current: mat4,
},
projectionViewFrustum: {
current: vec4[],
},
inverseViewMatrix: {
current: mat4,
},
inverseProjectionViewMatrix: {
current: mat4,
},
viewMatrix: {
current: mat4,
},
viewPosition: {
current: vec4,
},
viewNearFar: {
current: vec2,
},
viewResolution: {
current: vec2,
},
viewSize: {
current: vec2,
},
viewWorldDepth: {
current: vec2,
},
viewPixelRatio: {
current: number,
},
}
packages / core / src / types.ts