h3d.mat.Texture
h3d.mat.Texture
Fields
| Name | Type | |
|---|---|---|
t | Virtual[mips, res, rt, view] | |
mem | h3d.impl.MemoryManager | |
id | I32 | |
name | String | |
width | I32 | |
height | I32 | |
flags | I32 | |
format | hxd.PixelFormat | |
lastFrame | I32 | |
bits | I32 | |
waitLoads | hl.types.ArrayObj | |
mipMap | h3d.mat.MipMap | |
filter | h3d.mat.Filter | |
wrap | h3d.mat.Wrap | |
realloc | Fun | |
depthBuffer | h3d.mat.DepthBuffer | |
| static | UID | I32 |
| static | nativeFormat | hxd.PixelFormat |
| static | fromPixels | Fun |
| static | fromColor | Fun |
| static | defaultCubeTexture | Fun |
Protos
f@1249get_layerCount(h3d.mat.Texture) → I32f@1250alloc(h3d.mat.Texture) → Voidf@1251preventAutoDispose(h3d.mat.Texture) → Voidf@1252toString(h3d.mat.Texture) → Stringf@1253setName(h3d.mat.Texture, String) → Voidf@1254set_mipMap(h3d.mat.Texture, h3d.mat.MipMap) → h3d.mat.MipMapf@1255set_filter(h3d.mat.Texture, h3d.mat.Filter) → h3d.mat.Filterf@1256set_wrap(h3d.mat.Texture, h3d.mat.Wrap) → h3d.mat.Wrapf@1257resize(h3d.mat.Texture, I32, I32) → Voidf@1258clear(h3d.mat.Texture, I32, Ref, Null) → Voidf@1259checkMipMapGen(h3d.mat.Texture, I32, I32) → Voidf@1260uploadBitmap(h3d.mat.Texture, hxd.BitmapData, Ref, Ref) → Voidf@1261uploadPixels(h3d.mat.Texture, hxd.Pixels, Ref, Ref) → Voidf@1262dispose(h3d.mat.Texture) → Voidf@1263capturePixels(h3d.mat.Texture, Ref, Ref) → hxd.Pixelsf@1264__string(h3d.mat.Texture) → Bytes
Bindings
- static
f@1340__constructor__(h3d.mat.Texture, I32, I32, hl.types.ArrayObj, hxd.PixelFormat, Virtual[__alloc]) → Void - static
f@1339defaultCubeTexture() → h3d.mat.Texture - static
f@1338fromColor(I32, Null, Virtual[__alloc]) → h3d.mat.Texture - static
f@1337fromPixels(hxd.Pixels, Virtual[__alloc]) → h3d.mat.Texture