Skip to content

Commit

Permalink
Added initial state entries
Browse files Browse the repository at this point in the history
  • Loading branch information
robertosfield committed Aug 8, 2023
1 parent b5531e9 commit 8e38ca1
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions 3_SceneGraph/osg2vsg.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,6 @@ permalink: /scenegraph/osg2vsg
| [`osg::AutoTransform`](https://github.com/openscenegraph/OpenSceneGraph/blob/master/include/osg/AutoTransform) | | No VSG equivalent |
| [`osg::Billboard`](https://github.com/openscenegraph/OpenSceneGraph/blob/master/include/osg/Billboard) | | No VSG equivalent - use instanced geometry and vertex shader. |

## State

| OSG | VSG | Notes |
| --- | --- | --- |
| [`osg::`](https://github.com/openscenegraph/OpenSceneGraph/blob/master/include/osg/) | [`vsg::`](https://github.com/vsg-dev/VulkanSceneGraph/blob/master/include/vsg/state/) | |

## Geometry

| OSG | VSG | Notes |
Expand All @@ -65,6 +59,16 @@ permalink: /scenegraph/osg2vsg
| | [`vsg::BindVerteBuffers`](https://github.com/vsg-dev/VulkanSceneGraph/blob/master/include/vsg/commands/BindVerteBuffers.h) | No OSG equivalent. |
| | [`vsg::BindIndexBuffers`](https://github.com/vsg-dev/VulkanSceneGraph/blob/master/include/vsg/commands/BindIndexBuffers.h) | No OSG equivalent. |

## State

| OSG | VSG | Notes |
| --- | --- | --- |
| [`osg::StateSet`](https://github.com/openscenegraph/OpenSceneGraph/blob/master/include/osg/StateSet) | [`vsg::StateGroup`](https://github.com/vsg-dev/VulkanSceneGraph/blob/master/include/vsg/nodes/StateGroup.h) | osg::Group with an osg::StateSet is broadly similar to vsg::StateGroup |
| [`osg::StateAttribute`](https://github.com/openscenegraph/OpenSceneGraph/blob/master/include/osg/StateAttribute) | [`vsg::StateCommand`](https://github.com/vsg-dev/VulkanSceneGraph/blob/master/include/vsg/state/) | Both state base classes, but only vaguely similar |
| [`osg::Texture`](https://github.com/openscenegraph/OpenSceneGraph/blob/master/include/osg/Texture), Textrue1D, Texture2D, Texture3D, TextureCubeMap, Texture2DArray | [`vsg::DescriptorImage`](https://github.com/vsg-dev/VulkanSceneGraph/blob/master/include/vsg/state/DescriptorImage.h) | |

| [`osg::Uniform`](https://github.com/openscenegraph/OpenSceneGraph/blob/master/include/osg/) | [`vsg::DescriptorBuffer`](https://github.com/vsg-dev/VulkanSceneGraph/blob/master/include/vsg/state/DescriptorBuffer.h) | |

## IO

| OSG | VSG | Notes |
Expand Down

0 comments on commit 8e38ca1

Please sign in to comment.