Skip to content

Commit ca8061b

Browse files
committed
1.0.0.dev43 added type stubs
1 parent 44ce92a commit ca8061b

File tree

3 files changed

+38
-2
lines changed

3 files changed

+38
-2
lines changed

Loxoc/core.pyi

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,42 @@ class Material:
227227
Sets the value of a uniform for the shaders in the material.
228228
"""
229229

230+
@property
231+
def diffuse_texture(self) -> Texture:
232+
"""
233+
The diffuse :class:`Texture` .
234+
"""
235+
236+
@diffuse_texture.setter
237+
def diffuse_texture(self, value:Texture):
238+
"""
239+
The diffuse :class:`Texture` .
240+
"""
241+
242+
@property
243+
def specular_texture(self) -> Texture:
244+
"""
245+
The specular :class:`Texture` .
246+
"""
247+
248+
@specular_texture.setter
249+
def specular_texture(self, value:Texture):
250+
"""
251+
The specular :class:`Texture` .
252+
"""
253+
254+
@property
255+
def normals_texture(self) -> Texture:
256+
"""
257+
The normal :class:`Texture` .
258+
"""
259+
260+
@normals_texture.setter
261+
def normals_texture(self, value:Texture):
262+
"""
263+
The normal :class:`Texture` .
264+
"""
265+
230266
class Model:
231267
"""
232268
Holds all model data for an imported 3D asset file.

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
project = 'Loxoc'
1414
copyright = '2024, William A. Lim'
1515
author = 'William A. Lim'
16-
release = '1.0.0.dev42'
16+
release = '1.0.0.dev43'
1717

1818
# -- General configuration ---------------------------------------------------
1919
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
MODULE_NAME = "Loxoc"
1010

11-
DEV_VERSION = 42
11+
DEV_VERSION = 43
1212

1313
VERSION = f"1.0.0.dev{DEV_VERSION}"
1414

0 commit comments

Comments
 (0)