![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ParticleCurveTexture.h>
Inheritance diagram for FParticleCurveTexture:A texture in which to store curve samples.
| FParticleCurveTexture::FParticleCurveTexture | ( | ) |
Default constructor.
| FTexelAllocation FParticleCurveTexture::AddCurve | ( | const TArray< FColor > & | CurveSamples | ) |
Adds a curve to the texture.
| CurveSamples | - Samples in the curve. |
| FVector4f FParticleCurveTexture::ComputeCurveScaleBias | ( | FTexelAllocation | TexelAllocation | ) |
Computes scale and bias to apply in order to sample the curve. The value should be used as TexCoord.xy = Curve.xy + Curve.zw * t.
| TexelAllocation | - The texel allocation in the texture. |
|
inline |
Retrieves the curve texture from which shaders can sample.
|
overridevirtual |
Initialize RHI resources for the curve texture.
Reimplemented from FRenderResource.
|
overridevirtual |
Releases RHI resources.
Reimplemented from FRenderResource.
| void FParticleCurveTexture::RemoveCurve | ( | FTexelAllocation | TexelAllocation | ) |
Frees an area in the texture associated with a curve.
| TexelAllocation | - Frees a texel region allowing other curves to be placed there. |
| void FParticleCurveTexture::SubmitPendingCurves | ( | ) |
Submits pending curves to the GPU.