public class CacheSpec extends Object
| Constructor and Description |
|---|
CacheSpec(Texture.InternalFormat format,
int[] blockSize) |
CacheSpec(Texture.InternalFormat format,
int[] blockSize,
int[] paddedBlockSize,
int[] padOffset) |
CacheSpec(Texture.InternalFormat format,
int blockSizeX,
int blockSizeY,
int blockSizeZ) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
blockSize()
Get the size of a block without interpolation padding.
|
Texture.InternalFormat |
format() |
int[] |
paddedBlockSize()
Get the size of a padded block.
|
int[] |
padOffset()
Get the offset in a padded block, where the (actual, unpadded) block data starts.
|
public CacheSpec(Texture.InternalFormat format, int blockSizeX, int blockSizeY, int blockSizeZ)
public CacheSpec(Texture.InternalFormat format, int[] blockSize)
public CacheSpec(Texture.InternalFormat format, int[] blockSize, int[] paddedBlockSize, int[] padOffset)
public int[] blockSize()
public int[] paddedBlockSize()
TextureCache.
This is typically blockSize()+ (2,2,2).
public int[] padOffset()
This is typically (1,1,1).
public Texture.InternalFormat format()
Copyright © 2018–2025 BigDataViewer. All rights reserved.