docs
Loading...
Searching...
No Matches
ULRenderTarget

#include <Ultralight/CAPI/CAPI_Defines.h>

Overview

Offscreen render target, used when rendering Views via the GPU renderer.

When a View is rendered via the GPU renderer (see ulViewIsAccelerated()), it will be rendered to an offscreen render target (ulViewGetRenderTarget()) that you can display in your application.

This is intended to be used with a custom ULGPUDriver implementation in a game or similar application (ulPlatformSetGPUDriver()).

Public Attributes

bool is_empty
unsigned int width
unsigned int height
unsigned int texture_id
unsigned int texture_width
unsigned int texture_height
ULBitmapFormat texture_format
ULRect uv_coords
unsigned int render_buffer_id

Member Data Documentation

◆ height

unsigned int height

◆ is_empty

bool is_empty

◆ render_buffer_id

unsigned int render_buffer_id

◆ texture_format

ULBitmapFormat texture_format

◆ texture_height

unsigned int texture_height

◆ texture_id

unsigned int texture_id

◆ texture_width

unsigned int texture_width

◆ uv_coords

ULRect uv_coords

◆ width

unsigned int width

The documentation for this struct was generated from the following file: