Interface SamplerUniformV2

All Superinterfaces:
SamplerUniform
All Known Implementing Classes:
ManagedSamplerUniformV2

public interface SamplerUniformV2 extends SamplerUniform
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    set(IntSupplier textureSupplier)
    Sets the value of a sampler uniform declared in json

    Methods inherited from interface dev.cammiescorner.velvet.api.managed.uniform.SamplerUniform

    set, set, set, setDirect
  • Method Details

    • set

      @API(status=EXPERIMENTAL, since="1.4.0") void set(IntSupplier textureSupplier)
      Sets the value of a sampler uniform declared in json

      This method is only supported for ManagedShaderEffect

      Parameters:
      textureSupplier - a supplier for opengl texture names