ZeroZero Game Engine  v0.0
A 3D game engine using Vulkan & Jolt
Public Member Functions | List of all members
OutlineMaterials Class Reference

Detailed Description

Singleton for all the materials used by the SceneRenderer to outline meshes

Public Member Functions

const shared_ptr< ShaderMaterial > & get (int index) const
 
void add (const shared_ptr< ShaderMaterial > &material)
 

Member Function Documentation

void add ( const shared_ptr< ShaderMaterial > &  material)

Adds an outline material.

const shared_ptr<ShaderMaterial>& get ( int  index) const

Returns a given outline material