Navigation
API > API/Runtime > API/Runtime/Engine
FTriangleRasterizer - A generic 2d triangle rasterizer which linearly interpolates vertex parameters and calls a virtual function for each pixel.
| Name | FTriangleRasterizer |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Raster.h |
| Include Path | #include "Raster.h" |
Syntax
template<class RasterPolicyType>
class FTriangleRasterizer : public RasterPolicyType
Inheritance Hierarchy
- RasterPolicyType → FTriangleRasterizer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTriangleRasterizer
(
const RasterPolicyType& InRasterPolicy |
Raster.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| InterpolantType | RasterPolicyType::InterpolantType | Raster.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DrawTriangle
(
const InterpolantType& I0, |
Raster.h |