Nameless Engine
Loading...
Searching...
No Matches
ne::Material::InternalResources Struct Reference

Public Attributes

PipelineSharedPtr pColorPipeline
 
PipelineSharedPtr pDepthOnlyPipeline
 
PipelineSharedPtr pShadowMappingDirectionalSpotPipeline
 
PipelineSharedPtr pShadowMappingPointPipeline
 

Detailed Description

Groups internal data.

Member Data Documentation

◆ pColorPipeline

PipelineSharedPtr ne::Material::InternalResources::pColorPipeline

Used pipeline with pixel/fragment shader enabled.

Remarks
This pipeline is considered to be the main pipeline while others might be optional.
Only valid when the mesh that is using this material is spawned.

◆ pDepthOnlyPipeline

PipelineSharedPtr ne::Material::InternalResources::pDepthOnlyPipeline

pColorPipeline but with only vertex shader (used for depth only passes).

Remarks
Only valid when the mesh that is using this material is spawned.
Only valid when material does not use transparency.

◆ pShadowMappingDirectionalSpotPipeline

PipelineSharedPtr ne::Material::InternalResources::pShadowMappingDirectionalSpotPipeline

pDepthOnlyPipeline but with depth bias enabled (used for shadow passes of directional and spot lights).

Remarks
Only valid when the mesh that is using this material is spawned.
Only valid when material does not use transparency.

◆ pShadowMappingPointPipeline

PipelineSharedPtr ne::Material::InternalResources::pShadowMappingPointPipeline

pShadowMappingDirectionalSpotPipeline but with a special fragment shader.

Remarks
Only valid when the mesh that is using this material is spawned.
Only valid when material does not use transparency.

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