Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
Divide::Reflection Namespace Reference

Classes

struct  BufferEntry
 
struct  BufferMember
 
struct  Data
 
struct  DataEntry
 
struct  ImageEntry
 
struct  UniformCompare
 
struct  UniformDeclaration
 

Typedefs

using UniformsSet = eastl::set< UniformDeclaration, UniformCompare >
 

Functions

bool operator!= (const UniformDeclaration &lhs, const UniformDeclaration &rhs) noexcept
 
bool operator== (const UniformDeclaration &lhs, const UniformDeclaration &rhs) noexcept
 
bool SaveReflectionData (const ResourcePath &path, const ResourcePath &file, const Data &reflectionDataIn, const eastl::set< U64 > &atomIDsIn)
 
bool LoadReflectionData (const ResourcePath &path, const ResourcePath &file, Data &reflectionDataOut, eastl::set< U64 > &atomIDsOut)
 
void PreProcessUniforms (string &sourceInOut, UniformsSet &foundUniforms)
 
const Reflection::BufferEntryFindUniformBlock (const Reflection::Data &data)
 

Variables

static constexpr U8 INVALID_BINDING_INDEX = U8_MAX
 
constexpr U16 BYTE_BUFFER_VERSION = 2u
 

Typedef Documentation

◆ UniformsSet

Definition at line 131 of file ShaderDataUploader.h.

Function Documentation

◆ FindUniformBlock()

const BufferEntry * Divide::Reflection::FindUniformBlock ( const Reflection::Data data)

Definition at line 287 of file ShaderDataUploader.cpp.

◆ LoadReflectionData()

bool Divide::Reflection::LoadReflectionData ( const ResourcePath path,
const ResourcePath file,
Reflection::Data reflectionDataOut,
eastl::set< U64 > &  atomIDsOut 
)

Definition at line 151 of file ShaderDataUploader.cpp.

◆ operator!=()

bool Divide::Reflection::operator!= ( const UniformDeclaration lhs,
const UniformDeclaration rhs 
)
inlinenoexcept

Definition at line 115 of file ShaderDataUploader.h.

◆ operator==()

bool Divide::Reflection::operator== ( const UniformDeclaration lhs,
const UniformDeclaration rhs 
)
inlinenoexcept

Definition at line 121 of file ShaderDataUploader.h.

◆ PreProcessUniforms()

void Divide::Reflection::PreProcessUniforms ( string sourceInOut,
Reflection::UniformsSet foundUniforms 
)

Definition at line 250 of file ShaderDataUploader.cpp.

◆ SaveReflectionData()

bool Divide::Reflection::SaveReflectionData ( const ResourcePath path,
const ResourcePath file,
const Data reflectionDataIn,
const eastl::set< U64 > &  atomIDsIn 
)

Definition at line 71 of file ShaderDataUploader.cpp.

Variable Documentation

◆ BYTE_BUFFER_VERSION

constexpr U16 Divide::Reflection::BYTE_BUFFER_VERSION = 2u
constexpr

Definition at line 14 of file ShaderDataUploader.cpp.

◆ INVALID_BINDING_INDEX

constexpr U8 Divide::Reflection::INVALID_BINDING_INDEX = U8_MAX
staticconstexpr

Definition at line 50 of file ShaderDataUploader.h.