Hello Johannes, On Tue, Mar 11, 2014 at 10:26 AM, Johannes <jbru...@datasolid.de> wrote: > - Can I ask the UniformBufferObjChunk about the StateChunk slot it is > assigned to? I need the binding point which corresponds to the slot index > for establishing the uniform block binding.
I've not had a chance to look at the code yet, but I think I can answer this question: activate/deactivate/changeFrom get passed in a UInt32 idx argument, which is the slot the Chunk is assigned to. For example if you compare what TextureObjChunk does, there the idx argument is (by way of a helper function) used in a call to glActiveTexture(); in other words the idx is used to select which texture unit the texture gets bound to. More soon, cheers, Carsten ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users