FTriangleRasterizer

[FTriangleRasterizer](API\Runtime\Engine\FTriangleRasterizer) - A generic 2d triangle rasterizer which linearly interpolates vertex parameters and calls a virtual function for each pixel.

Windows
MacOS
Linux

Inheritance Hierarchy

RasterPolicyType

FTriangleRasterizer

Syntax

template<class RasterPolicyType>
class FTriangleRasterizer : public RasterPolicyType

Remarks

FTriangleRasterizer - A generic 2d triangle rasterizer which linearly interpolates vertex parameters and calls a virtual function for each pixel.

Constructors

Name Description

Public function

FTriangleRasterizer

(
    const RasterPolicyType& InRasterPo...
)

Functions

Name Description

Public function

void

 

DrawTriangle

(
    const InterpolantType& I0,
    const InterpolantType& I1,
    const InterpolantType& I2,
    const FVector2D& P0,
    const FVector2D& P1,
    const FVector2D& P2,
    bool BackFacing
)

Typedefs

Name

Description

InterpolantType

References

Module

Engine

Header

Runtime/Engine/Public/Raster.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback