Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
T
 Texture Attribute Queries
 Texture Attribute Writes
 Texture Functions
 Texture size limitations
 Types
U
 Utility Functions
d2_utility_fbblitcopy
d2_utility_maptriangle
d2_utility_perspectivewarp
V
 Viewport Functions
W
d2_writetexclut_direct
Modify texture mapping settings
Texture sizes are limited to 1024x1024 texels in general.
Triangle mapping and perspective warp operations
d2_s32 d2_utility_fbblitcopy(d2_device *handle,
d2_u16 width,
d2_u16 height,
d2_blitpos srcx,
d2_blitpos srcy,
d2_blitpos dstx,
d2_blitpos dsty,
d2_u32 flags)
Copy a rectangular part inside the current framebuffer.
d2_s32 d2_utility_maptriangle(d2_device *handle,
const d2_f32 *points,
const d2_f32 *uvs)
This function uses d2_settexturemapping to map a texture on a triangle.
d2_s32 d2_utility_perspectivewarp(d2_device *handle,
d2_u16 srcwidth,
d2_u16 srcheight,
d2_s16 srcx,
d2_s16 srcy,
d2_s16 dstwidth,
d2_s16 dstheight,
d2_s16 dstx,
d2_s16 dsty,
d2_u16 wt)
Copies an image in perspective manner to a destination rectangle.
Framebuffer and view specific functions.
d2_s32 d2_writetexclut_direct(d2_device *handle,
const d2_color *clut_part,
d2_u32 start_index,
d2_u32 length)
Write a part of the color lookup table directly to the render buffer.
Close