Package limn.render3d

Interface GpuTexture


public interface GpuTexture
An opaque handle to a texture uploaded to the GPU (see Graphics3D.uploadTexture). Like GpuMesh it belongs to the GL context it was created in and is freed either explicitly via dispose() or when that context is disposed. Reference it from a Material.Pbr.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    int
     
    int
     
  • Method Details

    • widthPx

      int widthPx()
    • heightPx

      int heightPx()
    • dispose

      void dispose()