Talvos  0.1
SPIR-V interpreter and dynamic analysis framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
talvos::EntryPoint Class Reference

This class represents a shader entry point. More...

#include <talvos/EntryPoint.h>

Public Member Functions

 EntryPoint (uint32_t Id, std::string Name, uint32_t ExecutionModel, const Function *Func, const VariableList &Variables)
 Create an EntryPoint. More...
 
uint32_t getExecutionModel () const
 Returns the shader execution model of this entry point. More...
 
const FunctiongetFunction () const
 Returns the function specified by this entry point. More...
 
uint32_t getId () const
 Returns the SPIR-V result ID of this entry point. More...
 
const std::string & getName () const
 Returns the name of this entry point. More...
 
const VariableListgetVariables () const
 Returns the input/output variables used by this entry point. More...
 

Private Attributes

uint32_t Id
 The SPIR-V result ID. More...
 
std::string Name
 The name of the entry point. More...
 
uint32_t ExecutionModel
 The shader execution mode. More...
 
const FunctionFunc
 The function that will be used. More...
 
VariableList Variables
 List of input/output variables used. More...
 

Detailed Description

This class represents a shader entry point.

Definition at line 25 of file EntryPoint.h.

Constructor & Destructor Documentation

talvos::EntryPoint::EntryPoint ( uint32_t  Id,
std::string  Name,
uint32_t  ExecutionModel,
const Function Func,
const VariableList Variables 
)
inline

Create an EntryPoint.

Definition at line 29 of file EntryPoint.h.

Member Function Documentation

uint32_t talvos::EntryPoint::getExecutionModel ( ) const
inline

Returns the shader execution model of this entry point.

Definition at line 35 of file EntryPoint.h.

const Function* talvos::EntryPoint::getFunction ( ) const
inline

Returns the function specified by this entry point.

Definition at line 38 of file EntryPoint.h.

uint32_t talvos::EntryPoint::getId ( ) const
inline

Returns the SPIR-V result ID of this entry point.

Definition at line 41 of file EntryPoint.h.

const std::string& talvos::EntryPoint::getName ( ) const
inline

Returns the name of this entry point.

Definition at line 44 of file EntryPoint.h.

const VariableList& talvos::EntryPoint::getVariables ( ) const
inline

Returns the input/output variables used by this entry point.

Definition at line 47 of file EntryPoint.h.

Member Data Documentation

uint32_t talvos::EntryPoint::ExecutionModel
private

The shader execution mode.

Definition at line 57 of file EntryPoint.h.

const Function* talvos::EntryPoint::Func
private

The function that will be used.

Definition at line 60 of file EntryPoint.h.

uint32_t talvos::EntryPoint::Id
private

The SPIR-V result ID.

Definition at line 51 of file EntryPoint.h.

std::string talvos::EntryPoint::Name
private

The name of the entry point.

Definition at line 54 of file EntryPoint.h.

VariableList talvos::EntryPoint::Variables
private

List of input/output variables used.

Definition at line 63 of file EntryPoint.h.