#include <renderer/YiShaderFactory.h>
◆ CreateAsset()
Function to create a shader program from two existing shader object assets. These assets will be enrolled into the CYIAssetManager.
◆ CreateAssetFromBinary()
static std::shared_ptr<CYIAssetShaderProgram> CYIShaderFactory::CreateAssetFromBinary |
( |
uint8_t * |
pVertexShaderData, |
|
|
int32_t |
vertexShaderSize, |
|
|
uint8_t * |
pFragmentShaderData, |
|
|
int32_t |
fragmentShaderSize |
|
) |
| |
|
static |
Function to create a shader program from two binary data. These assets will be enrolled into the CYIAssetManager using the provided names.
◆ CreateAssetFromFile()
Function to create a shader program from two source/binary files. These assets will be enrolled into the CYIAssetManager using the provided names. The filenames will be resolved using the system asset root locator.
◆ CreateAssetFromPath()
Function to create a shader program from two source files. These assets will be enrolled into the CYIAssetManager using the provided paths.
◆ CreateAssetFromSource()
Function to create a shader program from two source strings. These assets will be enrolled into the CYIAssetManager using the provided names.
◆ CreateShaderProgram()
static std::shared_ptr<IYIGPUObject> CYIShaderFactory::CreateShaderProgram |
( |
| ) |
|
|
static |
Function to create a shader program from a shader program asset
The documentation for this class was generated from the following file: