Structs§
Enums§
- Blend
Equation - Blend
Factor - Compare
- Texture
Error - Texture
Filter - Texture
Format - Texture
Wrap - Topology
- Winding
Order
Functions§
- bind_
texture - Bind a texture for drawing
- 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_
geometry - Submit a buffer of geometry to draw
- draw_
geometry_ packed - 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_
sample_ params - Set currently active texture sampling parameters
- set_
vsync_ handler - Set an optional handler for vertical sync
- set_
winding - Set the winding order for backface culling
- submit_
depth_ query - Compare a region of the depth buffer against the given reference value
- viewport
- Set the current viewport rect