Navigation
Unreal Engine C++ API Reference > Runtime > Engine
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/MaterialShared.h |
Include | #include "MaterialShared.h" |
Syntax
class FMaterialVirtualTextureStack
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
int32[8] | LayerUniformExpressionIndices | Indices of the expressions that were set to layers in this stack. |
![]() |
uint32 | NumLayers | Number of layers that have been allocated in this stack. |
![]() |
int32 | PreallocatedStackTextureIndex | Index of a texture reference if we create a stack from a single known texture that has it's own layer stack. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
|||
![]() |
FMaterialVirtualTextureStack
(
int32 InPreallocatedStackTextureIndex |
Construct with a texture index when this references a preallocated VT stack (for example when we are using a URuntimeVirtualTexture). |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
uint32 | AddLayer () |
Add space for a layer in the stack. |
![]() ![]() |
bool | Returns true if we have allocated the maximum number of layers for this stack. | |
![]() ![]() |
int32 | FindLayer
(
int32 UniformExpressionIndex |
Find the layer in the stack that was set with this expression index. |
![]() ![]() |
uint32 | GetNumLayers () |
Get the number of layers allocated in the stack. |
![]() ![]() |
void | GetTextureValue
(
const FMaterialRenderContext& Context, |
Get the URuntimeVirtualTexture object if one was used to initialize this stack. |
![]() ![]() |
void | GetTextureValue
(
const FMaterialRenderContext& Context, |
Get the USparseVolumeTexture object if one was used to initialize this stack. |
![]() ![]() |
void | GetTextureValues
(
const FMaterialRenderContext& Context, |
Get the array of UTexture objects for the expressions that in the layers of this stack. |
![]() ![]() |
const FTypeLayoutDesc & | ||
![]() ![]() |
bool | Returns true if this is a stack that with a preallocated layout of layers (for example when we are using a URuntimeVirtualTexture). | |
![]() |
void | ||
![]() |
uint32 | SetLayer
(
int32 LayerIndex, |
Set an expression index at a layer in the stack. |
![]() ![]() |
FTypeLayoutDesc & |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
InternalLinkType | ||
![]() |
InternalLinkType< COUNTER-CounterBase > |
Typedefs
Name | Description |
---|---|
DerivedType | |
InternalBaseType |
Constants
Name | Description |
---|---|
CounterBase | |
InterfaceType |