Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FProxyMaterialCompiler
Description
Could be called sub texture and used to support multiple texture samples from a single node? Making it clear for now and setting explicitly a USparseVolumeTexture as object. Register a sparse volume texture to be sampled.
Virtual Inheritance
- FMaterialCompiler::SparseVolumeTexture → FProxyMaterialCompiler::SparseVolumeTexture
| Name | SparseVolumeTexture |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/MaterialCompiler.h |
| Include Path | #include "MaterialCompiler.h" |
virtual int32 SparseVolumeTexture
(
USparseVolumeTexture * Texture,
int32 & TextureReferenceIndex,
EMaterialSamplerType SamplerType
)
The code chunk index of the texture.
Parameters
| Name | Remarks |
|---|---|
| Texture | The sparse volume texture to sample. |
| TextureReferenceIndex | Output the index of the texture in the referenced textures of the material. |
| SamplerType | The sampler type |