Module vdp

Source

Structs§

Color32
PackedVertex
Rectangle
RenderTexture
Texture
Vertex

Enums§

BlendEquation
BlendFactor
Compare
TexCombine
TextureError
TextureFilter
TextureFormat
TextureUnit
TextureWrap
Topology
VertexSlotFormat
WindingOrder

Traits§

DBTex

Functions§

bind_textureDeprecated
Bind a texture for drawing
bind_texture_slot
Bind a texture to the given texture unit
blend_equation
Set the blend equation mode
blend_func
Set the source and destination blend factors
clear_color
Clear the backbuffer to the given color
clear_depth
Clear the depth buffer to the given depth value
depth_func
Set the current depth test comparison
depth_write
Set whether depth writes are enabled
draw_geometryDeprecated
Submit a buffer of geometry to draw
draw_geometry_packedDeprecated
Submit a buffer of geometry to draw
get_depth_query_result
Get the number of pixels which passed the submitted depth query
get_usage
Get total texture memory usage in bytes
set_culling
Set backface culling enabled or disabled
set_render_target
Set the current render target
set_sample_paramsDeprecated
Set currently active texture sampling parameters
set_sample_params_slot
Set texture sample params for the given texture unit
set_tex_combine
Set texture combiner mode
set_vsync_handler
Set an optional handler for vertical sync
set_vu_cdata
Set one of VU’s 16 const data slots to given vector
set_vu_layout
Configure input vertex element slot layout
set_vu_stride
Set stride of input vertex data (size of each vertex in bytes)
set_winding
Set the winding order for backface culling
submit_depth_query
Compare a region of the depth buffer against the given reference value
submit_vu
Submit geometry to be processed by the VU
upload_vu_program
Upload a new VU program
viewport
Set the current viewport rect