Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ion::gfx::ShaderInputBase Class Reference

#include "shaderinput.h"

Inheritance diagram for ion::gfx::ShaderInputBase:

Public Types

enum  Tag {
  kUniform,
  kAttribute
}
 This is only used to determine the type of a ShaderInputRegistry::Spec since Attributes and Uniforms share the space of names. More...
 

Public Member Functions

 ShaderInputBase ()
 
 ~ShaderInputBase ()
 

Static Protected Member Functions

static uint64 GetNewStamp ()
 Returns atomically post-incremented stamp. More...
 

Detailed Description

Definition at line 31 of file shaderinput.h.

Member Enumeration Documentation

This is only used to determine the type of a ShaderInputRegistry::Spec since Attributes and Uniforms share the space of names.

Enumerator
kUniform 
kAttribute 

Definition at line 35 of file shaderinput.h.

Constructor & Destructor Documentation

ion::gfx::ShaderInputBase::ShaderInputBase ( )
inline

Definition at line 40 of file shaderinput.h.

ion::gfx::ShaderInputBase::~ShaderInputBase ( )
inline

Definition at line 41 of file shaderinput.h.

Member Function Documentation

uint64 ion::gfx::ShaderInputBase::GetNewStamp ( )
staticprotected

Returns atomically post-incremented stamp.

Definition at line 24 of file shaderinput.cc.

Referenced by ion::gfx::ShaderInput< UniformValueType, UniformType >::SetNewStamp().


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