#include <GR_DecorationRender.h>
|
| | GR_DecorationRender (const GR_RenderInfo *info) |
| |
| virtual | ~GR_DecorationRender () |
| |
| void | setupFromDisplayOptions (const GR_DisplayOption &opts, GR_DecorationOverride select_dec, GR_UpdateParms &parms, const GR_Decoration *supported, GR_AttribMask mask) |
| |
| bool | hasOverlayDecorations () const |
| |
| bool | updateDecoration (RE_Render *r, GR_Decoration dec, const GT_Primitive &prim, const GR_UpdateParms &p, RE_Geometry &geo) |
| |
| bool | updateDecoration (RE_RenderContext r, GR_Decoration dec, const GT_Primitive &prim, const GR_UpdateParms &p, RV_Geometry &geo) |
| |
| void | setupDrawing (RE_RenderContext r) |
| |
| void | drawSingle (RE_Render *r, RE_Geometry &geo, GR_Decoration dec, const GR_DisplayOption *opt, GR_DecorRenderFlags flags, GR_SelectMode select, RenderTarget render_mode, GR_DecorVisibility *vis_override, PrimitiveType glprim_type, int instance_group, int select_inst, RE_OverrideList *override_list) |
| |
| void | drawSingle (RE_RenderContext r, RV_Geometry &geo, GR_GeoRender *gr, GR_Decoration dec, const GR_DisplayOption *opt, GR_DecorRenderFlags flags, GR_SelectMode select, RenderTarget render_mode, GR_DecorVisibility *vis_override, PrimitiveType glprim_type, int instance_group, int select_inst, RV_OverrideList *override_list) |
| |
| void | drawSingleVisualizer (RE_Render *r, RE_Geometry &geo, const GR_VisualizerInfo *dec_info, const GR_DisplayOption *opt, GR_DecorRenderFlags flags, PrimitiveType prim_type) |
| |
| void | drawSingleVisualizer (RE_RenderContext r, RV_Geometry &geo, GR_GeoRender *gr, const GR_VisualizerInfo *dec_info, const GR_DisplayOption *opt, GR_DecorRenderFlags flags, PrimitiveType prim_type) |
| |
|
| static RE_Texture * | getViewportFontTexture (RE_Render *r, GR_DecorFontSize s, GR_DecorFontType t, bool outlined, UT_Vector3 &font_parms) |
| |
| static RE_Texture * | getRampLookupTexture (RE_Render *r, UT_ColorRamp rtype) |
| | Returns a 512-entry 1D texture. More...
|
| |
| static void | setupFontParms (RE_RenderContext r, RV_ShaderVariableSet *set, const GR_DisplayOption *opt, GR_DecorFontType charset, bool pointed_box, UT_Vector3 &out_parms, GR_DecorFontSize size=GR_DECOR_FONT_NUM_SIZES) |
| |
| static void | bindViewportFontTexture (RE_RenderContext r, RV_ShaderVariableSet *set, GR_DecorFontSize s, GR_DecorFontType t, bool outlined, UT_Vector3 &out_parms) |
| |
| static void | bindViewportVertexTexture (RE_RenderContext r, RV_ShaderVariableSet *set) |
| |
| static bool | initShaders (RV_Instance *inst) |
| |
| static void | cleanupShaders () |
| |
Definition at line 82 of file GR_DecorationRender.h.
| Enumerator |
|---|
| PRIM_TRIANGLE |
|
| PRIM_MESH |
|
| PRIM_LINE |
|
| PRIM_POINT |
|
| PRIM_TET |
|
| PRIM_TYPE_COUNT |
|
Definition at line 112 of file GR_DecorationRender.h.
| GR_DecorationRender::GR_DecorationRender |
( |
const GR_RenderInfo * |
info | ) |
|
| virtual GR_DecorationRender::~GR_DecorationRender |
( |
| ) |
|
|
virtual |
| static void GR_DecorationRender::cleanupShaders |
( |
| ) |
|
|
static |
| void GR_DecorationRender::drawSingle |
( |
RE_Render * |
r, |
|
|
RE_Geometry & |
geo, |
|
|
GR_Decoration |
dec, |
|
|
const GR_DisplayOption * |
opt, |
|
|
GR_DecorRenderFlags |
flags, |
|
|
GR_SelectMode |
select, |
|
|
RenderTarget |
render_mode, |
|
|
GR_DecorVisibility * |
vis_override, |
|
|
PrimitiveType |
glprim_type, |
|
|
int |
instance_group, |
|
|
int |
select_inst, |
|
|
RE_OverrideList * |
override_list |
|
) |
| |
| void GR_DecorationRender::drawSingle |
( |
RE_RenderContext |
r, |
|
|
RV_Geometry & |
geo, |
|
|
GR_GeoRender * |
gr, |
|
|
GR_Decoration |
dec, |
|
|
const GR_DisplayOption * |
opt, |
|
|
GR_DecorRenderFlags |
flags, |
|
|
GR_SelectMode |
select, |
|
|
RenderTarget |
render_mode, |
|
|
GR_DecorVisibility * |
vis_override, |
|
|
PrimitiveType |
glprim_type, |
|
|
int |
instance_group, |
|
|
int |
select_inst, |
|
|
RV_OverrideList * |
override_list |
|
) |
| |
Returns a 512-entry 1D texture.
| bool GR_DecorationRender::hasOverlayDecorations |
( |
| ) |
const |
|
inline |
| static bool GR_DecorationRender::initShaders |
( |
RV_Instance * |
inst | ) |
|
|
static |
The documentation for this class was generated from the following file: