mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
sokol: fix usage of sokol sampler (#19527)
This commit is contained in:
parent
e19e17f10b
commit
3c68e78f32
24 changed files with 354 additions and 239 deletions
|
@ -48,10 +48,11 @@ pub mut:
|
|||
vt []m4.Vec4 // textures
|
||||
|
||||
name string
|
||||
part []Part // parts of the ObjPart
|
||||
mat []Material // list of the materials of the ObjPart
|
||||
mat_map map[string]int // mapping material name to its material index
|
||||
texture map[string]gfx.Image // GPU loaded texture map
|
||||
part []Part // parts of the ObjPart
|
||||
mat []Material // list of the materials of the ObjPart
|
||||
mat_map map[string]int // mapping material name to its material index
|
||||
texture map[string]gfx.Image // GPU loaded texture map
|
||||
sampler map[string]gfx.Sampler // GPU loaded sampler
|
||||
material_file string // .mtl file name for the .obj
|
||||
|
||||
rend_data []Render_data // render data used for the rendering
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue