Matrix Engine Api Documentation - v2.0.0
    Preparing search index...

    Class WaterSimEffect

    Index

    Constructors

    Properties

    _causticsBindGroups: any[]
    _dropQueue: any[]
    _finalMatrix: Mat4
    _idleFrames: number
    _idleThreshold: number
    _indexFormat: string
    _lastEye: any
    _localMatrix: Mat4
    _parity: any
    _physViews: any[]
    _simFormat: string
    _sphereStamp: { newCenter: any; oldCenter: any; radius: any }
    _surfaceBindGroups: any[]
    causticIntensity: any
    causticsPipeline: any
    causticsTexture: any
    commonUniformBuffer: any
    data: Float32Array<ArrayBuffer>
    data2: Float32Array<ArrayBuffer>
    detail: any
    device: any
    dropBindGroups: any[]
    dropPipeline: any
    dropPipelineUB: any
    enabled: boolean
    floorSampler: any
    floorTexture: any
    format: any
    fresnelMin: any
    height: any
    indexBuffer: any
    indexCount: any
    ior: any
    lightDirection: any
    lightUniformBuffer: any
    modelBuffer: any
    normalBindGroups: any[]
    normalPipeline: any
    normalPipelineUB: any
    poolHeight: any
    positionBuffer: any
    sampler: any
    size: any
    sphereBindGroups: any[]
    spherePipeline: any
    spherePipelineUB: any
    surfaceBindGroupLayout: any
    surfacePipelineAbove: any
    surfacePipelineUnder: any
    textureA: any
    textureB: any
    updateBindGroups: any[]
    updatePipeline: any
    updatePipelineUB: any
    waterUniformBuffer: any
    width: any
    _pipelineCache: WeakMap<WeakKey, any> = ...
    _shaderCache: WeakMap<WeakKey, any> = ...

    Methods

    • Parameters

      • label: any
      • fragCode: any
      • uniformSize: any

      Returns { label: any; pipeline: any }

    • Parameters

      • encoder: any
      • label: any
      • pipelineObj: any
      • bindGroups: any
      • uniformBuffer: any
      • uniformData: any

      Returns void

    • Parameters

      • positionBuffer: any
      • indexBuffer: any
      • indexCount: any
      • indexFormat: string = 'uint32'

      Returns void