Add option to enable alpha blending
This commit is contained in:
@@ -132,6 +132,7 @@ namespace openVulkanoCpp::Scene
|
||||
Topology topology = Topology::TRIANGLE_LIST;
|
||||
CullMode cullMode = CullMode::BACK;
|
||||
ICloseable* renderShader = nullptr;
|
||||
bool alphaBlend = false; // TODO allow fine control over blending
|
||||
|
||||
Shader() = default;
|
||||
~Shader() override { if (renderShader) Shader::Close(); }
|
||||
|
||||
Reference in New Issue
Block a user