com.mojang.blaze3d.textures

public abstract class GpuTexture

implements AutoCloseable

com.mojang.blaze3d.textures.GpuTexture
com.mojang.blaze3d.textures.GpuTexture
com.mojang.blaze3d.textures.GpuTexture
com.mojang.blaze3d.textures.GpuTexture
com.mojang.blaze3d.textures.GpuTexture

字段概要

修饰符与类型字段
public static final int
USAGE_COPY_DST
USAGE_COPY_DST
USAGE_COPY_DST
public static final int
USAGE_COPY_SRC
USAGE_COPY_SRC
USAGE_COPY_SRC
public static final int
USAGE_TEXTURE_BINDING
USAGE_TEXTURE_BINDING
USAGE_TEXTURE_BINDING
public static final int
USAGE_RENDER_ATTACHMENT
USAGE_RENDER_ATTACHMENT
USAGE_RENDER_ATTACHMENT
public static final int
USAGE_CUBEMAP_COMPATIBLE
USAGE_CUBEMAP_COMPATIBLE
USAGE_CUBEMAP_COMPATIBLE
private final TextureFormat
format
format
format
private final int
width
width
width
private final int
height
height
height
private final int
depthOrLayers
depthOrLayers
depthOrLayers
private final int
mipLevels
mipLevels
mipLevels
private final int
usage
usage
usage
private final String
label
label
label

构造函数概要

修饰符构造函数
public (int usage, String label, TextureFormat format, int width, int height, int depthOrLayers, int mipLevels)

方法概要

修饰符与类型方法
public int
getWidth(int arg0)
getWidth(int arg0)
getWidth(int arg0)
getWidth(int mipLevel)
getWidth(int arg0)
public int
getHeight(int arg0)
getHeight(int arg0)
getHeight(int arg0)
getHeight(int mipLevel)
getHeight(int arg0)
public int
getDepthOrLayers()
getDepthOrLayers()
getDepthOrLayers()
public int
getMipLevels()
getMipLevels()
getMipLevels()
public TextureFormat
getFormat()
getFormat()
getFormat()
public int
usage()
usage()
usage()
public String
getLabel()
getLabel()
getLabel()
public abstract void
close()
close()
close()
public abstract boolean
isClosed()
isClosed()
isClosed()