Graphics::ShaderBuilder class

Base classes

class MaterialShader

Public static functions

static auto Load(RenderWare::Mesh* mesh) -> BOOL
This function is called when rendering a mesh, before the DrawIndexedPrimitives is called.

Constructors, destructors, conversion operators

ShaderBuilder()

Public functions

auto Release() -> int
auto Read(IO::IStream* pStream, uint32_t shaderID, int version) -> bool

Protected variables

eastl::vector<ShaderBuilderEntry> mVertexShaders
eastl::vector<ShaderBuilderEntry> mPixelShaders

Function documentation

static BOOL Graphics::ShaderBuilder::Load(RenderWare::Mesh* mesh)

This function is called when rendering a mesh, before the DrawIndexedPrimitives is called.

This function is responsible of loading the shaders into DirectX.