Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FMaterialCompiler
- FMaterialCompiler::SparseVolumeTextureSamplePhysicalTileData()
- FProxyMaterialCompiler::SparseVolumeTextureSamplePhysicalTileData()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/MaterialCompiler.h |
| Include | #include "MaterialCompiler.h" |
int32 SparseVolumeTextureSamplePhysicalTileData
(
int32 SparseVolumeTextureIndex,
int32 VoxelCoordIndex,
int32 PhysicalTileDataIdxIndex,
bool bIsManualLinearMipMapSecondSample
)
Remarks
Sample a sparse volume texture physical tile data texture. The code chunk index of the result of the texture sample.
Parameters
| Name | Description |
|---|---|
| SparseVolumeTextureIndex | The code chunk index of the texture. |
| VoxelCoordIndex | The coordinate at which to sample the texture. |
| PhysicalTileDataIdxIndex | The code chunk of the index (0 or 1) of the physical tile data texture to sample. |
| bIsManualLinearMipMapSecondSample | is true when this is the second/higher sample for manual linear mip map interpolation. |