You.i Engine
CYIShaderObjectAssetLoadParams Class Reference

Detailed Description

Asset loading parameters which are specific to shader object asset decoding.

This is a container class for parameters specific to shader object asset decoding done by CYIAssetDecoderShaderObject. This class contains the CYIAssetShaderObject::ShaderType and CYIAssetShaderObject::CodeType required to decode the shader. A CYIShaderObjectAssetLoadParams instance is required to decode a CYIAssetShaderObject.

See also
CYIAssetDecoderShaderObject::SupportsParams

#include <asset/YiShaderObjectAssetLoadParams.h>

Inheritance diagram for CYIShaderObjectAssetLoadParams:

Public Member Functions

 CYIShaderObjectAssetLoadParams (CYIAssetShaderObject::ShaderType shaderType, CYIAssetShaderObject::CodeType codeType=CYIAssetShaderObject::CodeType::UncompiledSource)
 
virtual ~CYIShaderObjectAssetLoadParams ()
 
virtual std::unique_ptr< CYIShaderObjectAssetLoadParamsClone ()
 
CYIAssetShaderObject::ShaderType GetShaderType () const
 
CYIAssetShaderObject::CodeType GetCodeType () const
 
- Public Member Functions inherited from CYIAssetLoadParams
 CYIAssetLoadParams ()
 
virtual ~CYIAssetLoadParams ()
 

Protected Attributes

CYIAssetShaderObject::ShaderType m_shaderType
 
CYIAssetShaderObject::CodeType m_codeType
 

Constructor & Destructor Documentation

◆ CYIShaderObjectAssetLoadParams()

CYIShaderObjectAssetLoadParams::CYIShaderObjectAssetLoadParams ( CYIAssetShaderObject::ShaderType  shaderType,
CYIAssetShaderObject::CodeType  codeType = CYIAssetShaderObject::CodeType::UncompiledSource 
)

◆ ~CYIShaderObjectAssetLoadParams()

virtual CYIShaderObjectAssetLoadParams::~CYIShaderObjectAssetLoadParams ( )
virtual

Member Function Documentation

◆ Clone()

virtual std::unique_ptr<CYIShaderObjectAssetLoadParams> CYIShaderObjectAssetLoadParams::Clone ( )
virtual

◆ GetCodeType()

CYIAssetShaderObject::CodeType CYIShaderObjectAssetLoadParams::GetCodeType ( ) const

◆ GetShaderType()

CYIAssetShaderObject::ShaderType CYIShaderObjectAssetLoadParams::GetShaderType ( ) const

Member Data Documentation

◆ m_codeType

CYIAssetShaderObject::CodeType CYIShaderObjectAssetLoadParams::m_codeType
protected

◆ m_shaderType

CYIAssetShaderObject::ShaderType CYIShaderObjectAssetLoadParams::m_shaderType
protected

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