Conquer Space 0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
Gfx::Uniforms Class Reference

Public Member Functions

GLint Get (ProgramId id, UniformId uniform) const
 
void Insert (ProgramId id, UniformId uniform, GLint location)
 

Private Types

using Key = uint64_t
 

Private Member Functions

Key ToKey (ProgramId id, UniformId uniform) const
 

Private Attributes

Rml::UnorderedMap< Key, GLint > map
 

Member Typedef Documentation

◆ Key

using Gfx::Uniforms::Key = uint64_t
private

Member Function Documentation

◆ Get()

GLint Gfx::Uniforms::Get ( ProgramId  id,
UniformId  uniform 
) const
inline

◆ Insert()

void Gfx::Uniforms::Insert ( ProgramId  id,
UniformId  uniform,
GLint  location 
)
inline

◆ ToKey()

Key Gfx::Uniforms::ToKey ( ProgramId  id,
UniformId  uniform 
) const
inlineprivate

Member Data Documentation

◆ map

Rml::UnorderedMap<Key, GLint> Gfx::Uniforms::map
private

The documentation for this class was generated from the following file: