Skip to content

Commit d5e38c1

Browse files
author
Jorge A. Gomes
committed
fixed exported names in __all__
1 parent e8406f7 commit d5e38c1

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

src/raylibpy/__init__.py

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -932,13 +932,14 @@
932932
'set_audio_stream_callback',
933933
'attach_audio_stream_processor',
934934
'detach_audio_stream_processor',
935-
'Drawing',
936-
'ScissorMode',
937-
'Mode2D',
938-
'Mode3D',
939-
'ShaderMode',
940-
'TextureMode',
941-
'VrStereoMode',
935+
'drawing',
936+
'scissor_mode',
937+
'blend_mode',
938+
'mode2d',
939+
'mode3d',
940+
'shader_mode',
941+
'texture_mode',
942+
'vr_stereo_mode',
942943
'clamp',
943944
'lerp',
944945
'normalize',
@@ -12748,6 +12749,13 @@ def scissor_mode(x, y, width, height):# type: (int, int, int, int) -> None
1274812749
yield
1274912750
_EndScissorMode()
1275012751

12752+
@contextmanager
12753+
def blend_mode(mode):# type: (int) -> None
12754+
"""Context manager for blend mode"""
12755+
_BeginBlendMode(int(mode))
12756+
yield
12757+
_EndBlendMode()
12758+
1275112759
@contextmanager
1275212760
def mode2d(camera):# type: (Camera2D) -> None
1275312761
"""Context manager for mode2d"""

0 commit comments

Comments
 (0)