Navigation
API > API/Runtime > API/Runtime/Engine
SparseVolumeTexture base interface to communicate with material graph and shader bindings.
| Name | USparseVolumeTexture |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/SparseVolumeTexture/SparseVolumeTexture.h |
| Include Path | #include "SparseVolumeTexture/SparseVolumeTexture.h" |
Syntax
UCLASS (MinimalAPI, ClassGroup=Rendering, BlueprintType)
class USparseVolumeTexture : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → USparseVolumeTexture
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| SparseVolumeTexture/SparseVolumeTexture.h | |||
USparseVolumeTexture
(
const FObjectInitializer& ObjectInitializer |
SparseVolumeTexture/SparseVolumeTexture.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~USparseVolumeTexture() |
SparseVolumeTexture/SparseVolumeTexture.h |
Enums
Public
| Name | Remarks |
|---|---|
| ENotifyMaterialsEffectOnShaders |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FVector4f GetFallbackValue
(
int32 AttributesIndex |
SparseVolumeTexture/SparseVolumeTexture.h | ||
virtual EPixelFormat GetFormat
(
int32 AttributesIndex |
SparseVolumeTexture/SparseVolumeTexture.h | ||
virtual FTransform GetFrameTransform() |
SparseVolumeTexture/SparseVolumeTexture.h |
|
|
virtual int32 GetNumFrames() |
SparseVolumeTexture/SparseVolumeTexture.h |
|
|
virtual int32 GetNumMipLevels() |
SparseVolumeTexture/SparseVolumeTexture.h |
|
|
float GetOptimalStreamingMipLevel
(
const FBoxSphereBounds& Bounds, |
Computes the optimal mip level to stream the SVT at, based on projected screen space size and voxel resolution. | SparseVolumeTexture/SparseVolumeTexture.h | |
virtual int32 GetSizeX() |
SparseVolumeTexture/SparseVolumeTexture.h |
|
|
virtual int32 GetSizeY() |
SparseVolumeTexture/SparseVolumeTexture.h |
|
|
virtual int32 GetSizeZ() |
SparseVolumeTexture/SparseVolumeTexture.h |
|
|
virtual TextureAddress GetTextureAddressX() |
SparseVolumeTexture/SparseVolumeTexture.h | ||
virtual TextureAddress GetTextureAddressY() |
SparseVolumeTexture/SparseVolumeTexture.h | ||
virtual TextureAddress GetTextureAddressZ() |
SparseVolumeTexture/SparseVolumeTexture.h | ||
virtual const UE::SVT::FTextureRenderResources * GetTextureRenderResources() |
SparseVolumeTexture/SparseVolumeTexture.h | ||
FVector4 GetUniformParameter
(
int32 Index |
Getter for the shader uniform parameters with index as ESparseVolumeTextureShaderUniform. | SparseVolumeTexture/SparseVolumeTexture.h | |
virtual FIntVector GetVolumeResolution() |
SparseVolumeTexture/SparseVolumeTexture.h | ||
void NotifyMaterials
(
const ENotifyMaterialsEffectOnShaders EffectOnShaders |
Notify any loaded material instances that the texture has changed. | SparseVolumeTexture/SparseVolumeTexture.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UE::Shader::EValueType GetUniformParameterType
(
int32 Index |
Getter for the shader uniform parameter type with index as ESparseVolumeTextureShaderUniform. | SparseVolumeTexture/SparseVolumeTexture.h |