Navigation
API > API/Runtime > API/Runtime/Engine
Set how Mip levels are calculated. Internally we will convert to ETextureMipValueMode which is used by internal APIs.
| Name | ERuntimeVirtualTextureMipValueMode |
| Type | enum |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionRuntimeVirtualTextureSample.h |
| Include Path | #include "Materials/MaterialExpressionRuntimeVirtualTextureSample.h" |
Syntax
enum ERuntimeVirtualTextureMipValueMode
{
RVTMVM_None,
RVTMVM_MipLevel,
RVTMVM_MipBias,
RVTMVM_RecalculateDerivatives,
RVTMVM_DerivativeUV,
RVTMVM_DerivativeWorld,
RVTMVM_MAX,
}
Values
| Name | Remarks |
|---|---|
| RVTMVM_None | Use default computed mip level. Takes into account UV scaling from using the WorldPosition pin. |
| RVTMVM_MipLevel | Use an absolute mip level from the MipLevel pin. 0 is full resolution. |
| RVTMVM_MipBias | Bias the default computed mip level using the MipBias pin. Negative values increase resolution. |
| RVTMVM_RecalculateDerivatives | Compute mip level from world position derivatives. |
| RVTMVM_DerivativeUV | Compute mip level from explicitly provided DDX and DDY derivatives of the virtual texture UV coordinates. |
| RVTMVM_DerivativeWorld | Compute mip level from explicitly provided DDX and DDY derivatives of the world position. |
| RVTMVM_MAX |