10 #ifndef RV_TextRender_h
11 #define RV_TextRender_h
125 bool hasText()
const {
return !myTextEntries.isEmpty(); }
133 static void renderText(
154 renderText(r, font, text, x, y, 0.0
f, color, alpha, viewport);
158 static void renderTextWithShadow(
181 renderTextWithShadow(
182 r, font, text, x, y, 0.0
f, text_color, shadow_color,
183 alpha_scale, viewport);
199 bool myEnableBlending;
200 bool myPreserveDepthState;
A collection of Vulkan UBO, SSBO, and Image shader bindings (descriptor set)
static void renderText(RV_Render *r, RE_Font &font, const char *text, fpreal32 x, fpreal32 y, const UT_Color &color, fpreal32 alpha, const UT_DimRect &viewport)
RV_VKImage * myAtlasTexture
GLdouble GLdouble GLdouble z
Object that represents drawable geometry. This object holds vertex, instancing and index buffers for ...
static void renderTextWithShadow(RV_Render *r, RE_Font &font, const char *text, fpreal32 x, fpreal32 y, const UT_Color &text_color, const UT_Color &shadow_color, fpreal32 alpha_scale, const UT_DimRect &viewport)
IFDmantra you can see code vm_image_mplay_direction endcode When SOHO starts a render
UT_UniquePtr< RV_Geometry > myGeometry
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
Vulkan text rendering class for viewport UI elements.
void setEnableBlending(bool val)
GLfloat GLfloat GLfloat alpha
Handle to the main interface of Vulkan.
FS_API bool cleanup(UT_StringArray &removed, UT_StringArray &error_files, exint &memory_freed, bool dry_run, const char *override_path=nullptr)
int numEntries() const
Get the number of text entries awaiting rendering.
LeafData & operator=(const LeafData &)=delete
void setPreserveDepthState(bool val)
SIM_API const UT_StringHolder position
A single text entry to be rendered.
bool hasText() const
Check if there is any text to render.