Skip to content

TheCheapestPixels/panda3d-ssbo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

panda3d-ssbo

A little module to make working with SSBOs in Panda3D a bit easier.

from p3d_ssbo import GlFloat, GlVec3, Struct


struct = Struct(
    "Test",  # Type name of the struct
    ("foo", GlFloat()),
    ("bar", GlVec3()),
)
glsl = struct.glsl()
size = struct.size()


values_in = 0.0, (0,0,0)
data_buffer_content = struct.pack(values_in)
values_out = struct.unpack(data_buffer_content)

About

A little module to make working with SSBOs in Panda3D a bit easier.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages