| Modifier and Type | Class and Description |
|---|---|
static class |
TextureCache.ContentState |
static class |
TextureCache.Tile |
Texture.InternalFormat, Texture.MagFilter, Texture.MinFilter, Texture.Wrap| Constructor and Description |
|---|
TextureCache(int[] dimensions,
CacheSpec spec) |
| Modifier and Type | Method and Description |
|---|---|
static int[] |
findSuitableGridSize(CacheSpec cacheSpec,
int maxMemoryInMB)
Find suitable size of a 3D texture (in multiples of
cacheSpec.paddedBlockSize())
such that it requires less than maxMemoryInMB, the texture is
roughly square, and fits as many blocks as possible. |
TextureCache.Tile |
get(ImageBlockKey<?> key) |
int |
getMaxNumTiles() |
int |
nextTimestamp() |
CacheSpec |
spec() |
int |
texDepth() |
int |
texHeight() |
Texture.InternalFormat |
texInternalFormat() |
Texture.MagFilter |
texMagFilter() |
Texture.MinFilter |
texMinFilter() |
int |
texWidth() |
Texture.Wrap |
texWrap() |
public TextureCache(int[] dimensions,
CacheSpec spec)
public CacheSpec spec()
public int getMaxNumTiles()
public TextureCache.Tile get(ImageBlockKey<?> key)
public int nextTimestamp()
public static int[] findSuitableGridSize(CacheSpec cacheSpec, int maxMemoryInMB)
cacheSpec.paddedBlockSize())
such that it requires less than maxMemoryInMB, the texture is
roughly square, and fits as many blocks as possible.cacheSpec - provides voxel type and size of an individual block.maxMemoryInMB - CacheSpec.paddedBlockSize().public Texture.InternalFormat texInternalFormat()
texInternalFormat in interface Texturepublic Texture.MinFilter texMinFilter()
texMinFilter in interface Texturepublic Texture.MagFilter texMagFilter()
texMagFilter in interface Texturepublic Texture.Wrap texWrap()
Copyright © 2018–2025 BigDataViewer. All rights reserved.