Navigation
API > API/Runtime > API/Runtime/Engine
| Name | FMaterialVirtualTextureStack |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/MaterialShared.h |
| Include Path | #include "MaterialShared.h" |
Syntax
class FMaterialVirtualTextureStack
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| MaterialShared.h | |||
FMaterialVirtualTextureStack
(
int32 InPreallocatedStackTextureIndex |
Construct with a texture index when this references a preallocated VT stack (for example when we are using a URuntimeVirtualTexture). | MaterialShared.h |
Structs
| Name | Remarks |
|---|---|
| InternalLinkType |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DerivedType | FMaterialVirtualTextureStack | MaterialShared.h | |
| InternalBaseType | typename TGetBaseTypeHelper< FMaterialVirtualTextureStack >::Type | MaterialShared.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| CounterBase | int | MaterialShared.h | |
| InterfaceType | ETypeLayoutInterface::Type | MaterialShared.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| int32LayerUniformExpressionIndices | Indices of the expressions that were set to layers in this stack. | MaterialShared.h | ||
| int32PreallocatedStackTextureIndex | Index of a texture reference if we create a stack from a single known texture that has it's own layer stack. | MaterialShared.h | ||
| uint32NumLayers | Number of layers that have been allocated in this stack. | MaterialShared.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
uint32 AddLayer() |
Add space for a layer in the stack. Returns an index that can be used for SetLayer(). | MaterialShared.h | |
bool AreLayersFull() |
Returns true if we have allocated the maximum number of layers for this stack. | MaterialShared.h | |
int32 FindLayer
(
int32 UniformExpressionIndex |
Find the layer in the stack that was set with this expression index. | MaterialShared.h | |
uint32 GetNumLayers() |
Get the number of layers allocated in the stack. | MaterialShared.h | |
void GetTextureValue
(
const FMaterialRenderContext& Context, |
Get the URuntimeVirtualTexture object if one was used to initialize this stack. | MaterialShared.h | |
void GetTextureValue
(
const FMaterialRenderContext& Context, |
Get the USparseVolumeTexture object if one was used to initialize this stack. | MaterialShared.h | |
void GetTextureValues
(
const FMaterialRenderContext& Context, |
Get the array of UTexture objects for the expressions that in the layers of this stack. | MaterialShared.h | |
const FTypeLayoutDesc & GetTypeLayout() |
MaterialShared.h | ||
bool IsPreallocatedStack() |
Returns true if this is a stack that with a preallocated layout of layers (for example when we are using a URuntimeVirtualTexture). | MaterialShared.h | |
void Serialize
(
FArchive& Ar |
MaterialShared.h | ||
uint32 SetLayer
(
int32 LayerIndex, |
Set an expression index at a layer in the stack. | MaterialShared.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void InternalDestroy
(
void* Object, |
MaterialShared.h | ||
static void InternalInitializeBases
(
FTypeLayoutDesc& TypeDesc |
MaterialShared.h | ||
static FTypeLayoutDesc & StaticGetTypeLayout() |
MaterialShared.h |