Navigation
API > API/Runtime > API/Runtime/Engine
Represents GPU resource needed for area weighted uniform sampling of a mesh surface.
| Name | FStaticMeshSectionAreaWeightedTriangleSamplerBuffer |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/StaticMeshResources.h |
| Include Path | #include "StaticMeshResources.h" |
Syntax
class FStaticMeshSectionAreaWeightedTriangleSamplerBuffer : public FRenderResource
Inheritance Hierarchy
- FRenderResource → FStaticMeshSectionAreaWeightedTriangleSamplerBuffer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FStaticMeshSectionAreaWeightedTriangleSamplerBuffer() |
StaticMeshResources.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FStaticMeshSectionAreaWeightedTriangleSamplerBuffer() |
StaticMeshResources.h |
Structs
| Name | Remarks |
|---|---|
| SectionTriangleInfo |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BufferSectionTriangleRHI | FBufferRHIRef | StaticMeshResources.h | ||
| BufferSectionTriangleSRV | FShaderResourceViewRHIRef | StaticMeshResources.h | ||
| Samplers | FStaticMeshSectionAreaWeightedTriangleSamplerArray * | StaticMeshResources.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FBufferRHIRef & GetBufferRHI() |
StaticMeshResources.h | ||
const FShaderResourceViewRHIRef & GetBufferSRV() |
StaticMeshResources.h | ||
void Init
(
FStaticMeshSectionAreaWeightedTriangleSamplerArray* SamplerToUpload |
StaticMeshResources.h |
Overridden from FRenderResource
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetFriendlyName() |
StaticMeshResources.h | ||
virtual void InitRHI
(
FRHICommandListBase& RHICmdList |
StaticMeshResources.h | ||
virtual void ReleaseRHI() |
StaticMeshResources.h |