NAP
Public Member Functions | Public Attributes | List of all members
ShaderVariableDeclaration Class Reference

#include <shadervariabledeclarations.h>

Public Member Functions

 ShaderVariableDeclaration (const std::string &name, int offset, int size)
 
virtual ~ShaderVariableDeclaration ()
 
 ShaderVariableDeclaration (ShaderVariableDeclaration &&inRHS)=default
 
ShaderVariableDeclarationoperator= (ShaderVariableDeclaration &&inRHS)=default
 
 ShaderVariableDeclaration (const ShaderVariableDeclaration &)=delete
 
ShaderVariableDeclarationoperator= (const ShaderVariableDeclaration &)=delete
 

Public Attributes

std::string mName
 Name of the declaration. More...
 
int mOffset
 Memory offset. More...
 
int mSize
 Total size (in bytes) of declaration. More...
 

Description

Shader variable shader declaration base class.

Inheritance diagram for ShaderVariableDeclaration:
[legend]

Constructor & Destructor Documentation

◆ ShaderVariableDeclaration() [1/3]

ShaderVariableDeclaration ( const std::string &  name,
int  offset,
int  size 
)

◆ ~ShaderVariableDeclaration()

virtual ~ShaderVariableDeclaration ( )
virtual

◆ ShaderVariableDeclaration() [2/3]

◆ ShaderVariableDeclaration() [3/3]

Member Function Documentation

◆ operator=() [1/2]

ShaderVariableDeclaration& operator= ( const ShaderVariableDeclaration )
delete

◆ operator=() [2/2]

ShaderVariableDeclaration& operator= ( ShaderVariableDeclaration &&  inRHS)
default

Member Data Documentation

◆ mName

std::string mName

Name of the declaration.

◆ mOffset

int mOffset

Memory offset.

◆ mSize

int mSize

Total size (in bytes) of declaration.