TerrainTextureStandIn
Package: Libraries.Game.Graphics.Worlds · Inherits from: Libraries.Game.Graphics.Texture, Libraries.Language.Object, Libraries.Game.Disposable
A TerrainTextureStandIn stands for a terrain's splat texture at its place in the terrain's block of texture places (WorldTerrain). The terrain's models are drawn with it, so they are drawn in the block's texture group, where every texture the splat shader needs is linked. The shader reads a model's texture from the group bound for the draw, by its place inside that group, so this returns that place as its texture index too. It is never loaded or disposed of itself; the splat texture it stands for is.
Actions
GetVulkanTextureIndex()
This action returns the stand-in's place inside its texture group, which is where the shader finds it.
Returns
integer: The place inside the group.
Inherited Actions
66 actions from Libraries.Game.Graphics.Texture
- AddTextureLoadListener(Libraries.Interface.Events.TextureLoadListener listener)
- Bind()
- Bind(integer textureUnit)
- Dispose()
- EmptyTextureLoadListeners()
- FinishLoadingAsynchronously(Libraries.System.File file, Libraries.Game.Graphics.PixelMap pixelMap, Libraries.Game.Graphics.Format format, boolean useMipMaps, Libraries.Game.Graphics.Drawable drawable)
- GetCutoutMipMaps()
- GetGLHandle()
- GetGLTarget()
- GetHeight(integer index)
- GetHeight()
- GetHorizontalWrap()
- GetLayerCount()
- GetMagnifyFilter()
- GetMinimizeFilter()
- GetSource()
- GetVerticalWrap()
- GetVulkanImageView()
- GetVulkanSampler()
- GetVulkanTextureGroupIndex()
- GetVulkanTextureLocalIndex()
- GetWidth()
- GetWidth(integer index)
- HasPackedNormalMipMaps()
- IsCubemap()
- IsLoadingAsynchronously()
- LoadAsynchronously(Libraries.System.File file, Libraries.Game.Graphics.Format format, boolean useMipMaps, Libraries.Game.Graphics.Drawable drawable)
- LoadAsynchronously(text filePath, Libraries.Game.Graphics.Drawable drawable)
- LoadAsynchronously(Libraries.System.File file, Libraries.Game.Graphics.Drawable drawable)
- LoadCircle(integer radius, Libraries.Game.Graphics.Color color)
- LoadCircle(integer radius)
- LoadCubemapFromFiles(Libraries.Containers.Array<Libraries.System.File> files)
- LoadCubemapFromPixelMaps(Libraries.Containers.Array<Libraries.Game.Graphics.PixelMap> pixelMaps)
- LoadFilledCircle(integer radius, Libraries.Game.Graphics.Color color)
- LoadFilledCircle(integer radius)
- LoadFilledRectangle(integer width, integer height)
- LoadFilledRectangle(integer width, integer height, Libraries.Game.Graphics.Color color)
- LoadFilledTriangle(integer x1, integer y1, integer x2, integer y2, integer x3, integer y3)
- LoadFilledTriangle(integer x1, integer y1, integer x2, integer y2, integer x3, integer y3, Libraries.Game.Graphics.Color color)
- LoadFromFile(Libraries.System.File file)
- LoadFromFile(text filePath, boolean useMipMaps)
- LoadFromFile(text filePath)
- LoadFromFilePaths(Libraries.Containers.Array<text> filePaths)
- LoadFromFiles(Libraries.Containers.Array<Libraries.System.File> files)
- LoadFromMatrix(Libraries.Compute.Matrix matrix)
- LoadFromPixelMap(Libraries.Game.Graphics.PixelMap pixelMap, Libraries.Game.Graphics.Format format, boolean useMipMaps)
- LoadFromPixelMap(Libraries.Game.Graphics.PixelMap pixelMap)
- LoadFromPixelMaps(Libraries.Containers.Array<Libraries.Game.Graphics.PixelMap> pixelMaps)
- LoadLine(integer x, integer y)
- LoadLine(integer x, integer y, Libraries.Game.Graphics.Color color)
- LoadModelTexture(Libraries.System.File file)
- LoadModelTexture(text fileName)
- LoadRectangle(integer width, integer height)
- LoadRectangle(integer width, integer height, Libraries.Game.Graphics.Color color)
- Reload()
- RemoveTextureLoadListener(Libraries.Interface.Events.TextureLoadListener listener)
- SetCutoutMipMaps(number cutoff)
- SetFilter(Libraries.Game.Graphics.TextureFilter minFilter, Libraries.Game.Graphics.TextureFilter magFilter)
- SetPackedNormalMipMaps(boolean packed)
- SetVulkanImageView(Libraries.Game.Graphics.Vulkan.VulkanImageView vulkanImageView)
- SetVulkanSampler(Libraries.Game.Graphics.Vulkan.VulkanSampler vulkanSampler)
- SetVulkanTextureIndex(integer vulkanTextureIndex)
- SetWrap(Libraries.Game.Graphics.TextureWrap hWrap, Libraries.Game.Graphics.TextureWrap vWrap)
- UnsafeSetFilter(Libraries.Game.Graphics.TextureFilter min, Libraries.Game.Graphics.TextureFilter mag)
- UnsafeSetWrap(Libraries.Game.Graphics.TextureWrap u, Libraries.Game.Graphics.TextureWrap v)
- UsesMipMaps()