Untold Engine  Beta v0.0.16
docs
U4DEngine::U4DShadowRenderPipeline Class Reference

Inherits U4DEngine::U4DRenderPipeline.

Public Member Functions

 U4DShadowRenderPipeline (std::string uName)
 
void initLibrary (std::string uVertexShader, std::string uFragmentShader)
 
void initTargetTexture ()
 
void initVertexDesc ()
 
void initPassDesc ()
 
bool buildPipeline ()
 
void initAdditionalInfo ()
 
void executePipeline (id< MTLRenderCommandEncoder > uRenderEncoder, U4DEntity *uEntity)
 
- Public Member Functions inherited from U4DEngine::U4DRenderPipeline
 U4DRenderPipeline (std::string uName)
 
void initPipeline (std::string uVertexShader, std::string uFragmentShader)
 
virtual void executePipeline (id< MTLRenderCommandEncoder > uRenderEncoder)
 
id< MTLTexture > getTargetTexture ()
 
void setInputTexture (id< MTLTexture > uInputTexture)
 
void hotReloadShaders (std::string uFilepath, std::string uVertexShader, std::string uFragmentShader)
 
std::string getName ()
 

Additional Inherited Members

- Public Attributes inherited from U4DEngine::U4DRenderPipeline
id< MTLTexture > targetDepthTexture
 
- Public Attributes inherited from U4DEngine::U4DRenderPipelineInterface
MTLRenderPassDescriptor * mtlRenderPassDescriptor
 Pointer representing the render pass descriptor.
 
id< MTLTexture > targetTexture
 
id< MTLTexture > inputTexture
 
id< MTLTexture > albedoTexture
 
id< MTLTexture > normalTexture
 
id< MTLTexture > positionTexture
 
id< MTLTexture > depthTexture
 
- Protected Attributes inherited from U4DEngine::U4DRenderPipeline
std::string name
 Name of the pass.
 
id< MTLDevice > mtlDevice
 Pointer representing a Metal Device.
 
id< MTLRenderPipelineState > mtlRenderPassPipelineState
 Pointer representing the state of the render pipeline.
 
MTLRenderPipelineDescriptor * mtlRenderPassPipelineDescriptor
 Pointer for the rendering pipeline descriptor.
 
id< MTLLibrary > mtlLibrary
 Pointer that holds the library of shaders.
 
id< MTLFunction > vertexProgram
 Pointer to the shader vertex program.
 
id< MTLFunction > fragmentProgram
 Pointer to the shader fragment program.
 
MTLVertexDescriptor * vertexDesc
 Pointer to the vertex descriptors.
 
MTLDepthStencilDescriptor * mtlRenderPassDepthStencilDescriptor
 Pointer to the Depth Stencil descriptor.
 
id< MTLDepthStencilState > mtlRenderPassDepthStencilState
 
MTLStencilDescriptor * mtlRenderPassStencilStateDescriptor
 
MTLRenderPassDepthAttachmentDescriptor * mtlRenderPassDepthAttachmentDescriptor
 
id< MTLBuffer > shadowPropertiesUniform