Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FMaterialCompiler > API/Runtime/Engine/FMaterialCompiler/SparseVolumeTexture
- FMaterialCompiler::SparseVolumeTexture()
- FProxyMaterialCompiler::SparseVolumeTexture()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/MaterialCompiler.h |
| Include | #include "MaterialCompiler.h" |
int32 SparseVolumeTexture
&40;
USparseVolumeTexture &42; Texture,
int32 & TextureReferenceIndex,
EMaterialSamplerType SamplerType
&41;
Remarks
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. The code chunk index of the texture.
Parameters
| Name | Description |
|---|---|
| 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 |