4.1.3.14. StippleTexture
This modules provides tools to manage stipple texture.
-
class PyOpenGLng.HighLevelApi.StippleTexture.GlStippleTexture(stipple_pattern)[source]
Bases: object
This class defines a 1D stipple texture.
-
_create_texture()[source]
Create the texture.
-
bind()[source]
Bind the texture.
-
set(stipple_pattern)[source]
Set the stipple pattern.
The stipple pattern is provided as a 16-bit number that define a 16-pixel binary 1D
texture.
For example 0xFF00 defines a dash pattern and 0xAAAA defines a dotted pattern.
-
unbind()[source]
Unbind the texture.