Rasterfarm-SDK
|
#include <bezierquadratic.h>
Public Types | |
enum | PatchDomain { TRIANGLES = 0 , QUADS , ISOLINES , POINTS } |
enum | SpacingMode { EQUAL = 0 , FRACTIONAL_EVEN , FRACTIONAL_ODD } |
Public Member Functions | |
BezierQuadratic (PatchDomain patchDomain, SpacingMode spacingMode, uint innerTessellationLevel, uint outerTessellationLevel, const Attribute &attribute) | |
virtual | ~BezierQuadratic () |
virtual void | create (Material *pMaterial) |
virtual void | update (Material *pMaterial) |
virtual void | addShaderResources (Material *pMaterial) |
virtual void | addShaderCode (Material *pMaterial) |
void | setInnerTessellationLevel (uint level) |
void | setOuterTessellationLevel (uint level) |
Static Public Attributes | |
static constexpr const char * | patchString [] |
static constexpr const char * | spacingString [] |
Protected Attributes | |
PatchDomain | patchDomain |
SpacingMode | spacingMode |
uint | innerTessellationLevel |
uint | outerTessellationLevel |
Uses tessellation to smooth lines and surfaces
BezierQuadratic::BezierQuadratic | ( | PatchDomain | patchDomain, |
SpacingMode | spacingMode, | ||
uint | innerTessellationLevel, | ||
uint | outerTessellationLevel, | ||
const Attribute & | attribute ) |
The | output-primitives of the tessellation process. |
The | subdivision of the patch-domain. |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
void BezierQuadratic::setInnerTessellationLevel | ( | uint | level | ) |
void BezierQuadratic::setOuterTessellationLevel | ( | uint | level | ) |
|
virtual |
|
protected |
|
protected |
|
protected |
|
staticconstexpr |
|
protected |
|
staticconstexpr |