Struct ImageInfo
struct ImageInfo
;
Fields
Name | Type | Description |
---|---|---|
dims
|
ImageDims | |
format
|
Format | |
layers
|
uint | |
levels
|
uint | |
samples
|
uint | |
tiling
|
ImageTiling | |
type
|
ImageType | |
usage
|
ImageUsage |
Methods
Name | Description |
---|---|
cube
(width, height)
|
|
cubeArray
(width, height, layers)
|
|
d1
(width)
|
|
d1Array
(width, layers)
|
|
d2
(width, height)
|
|
d2Array
(width, height, layers)
|
|
d3
(width, height, depth)
|
|
withFormat
(format)
|
|
withLevels
(levels)
|
|
withSamples
(samples)
|
|
withTiling
(tiling)
|
|
withUsage
(usage)
|