Skip to content

Commit

Permalink
Added support for inherited state
Browse files Browse the repository at this point in the history
  • Loading branch information
robertosfield committed Nov 24, 2023
1 parent 41f66b6 commit 8d8acf9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/vsg/io/tile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,11 @@ void tile::init(vsg::ref_ptr<const vsg::Options> options)

_graphicsPipelineConfig = GraphicsPipelineConfigurator::create(_shaderSet);

if (options)
{
_graphicsPipelineConfig->assignInheritedState(options->inheritedState);
}

if (settings->imageLayer)
{
_graphicsPipelineConfig->enableTexture("diffuseMap");
Expand Down

0 comments on commit 8d8acf9

Please sign in to comment.