载入中...
搜索中...
未找到
FractureDepth.cpp
浏览该文件的文档.
26 auto color = batch.interior ? std::array<float, 4>{interiorR_, interiorG_, interiorB_, interiorA_}
31 target.drawMeshGBuffer(batch.mesh, vp, glm::mat4(1.f), camera.nearZ, camera.farZ, nullptr, color[0],
std::vector< std::unique_ptr< ScriptClimbingEventSink > > live
Definition ClimbingServices.cpp:187
static Diagnostic error(DiagnosticCode code, std::string message, std::string path={})
Construct an error diagnostic with the standard error severity.
Definition Diagnostic.cpp:21
static Result failure(Status status)
Construct a failed result from a structured status.
Definition Result.h:196
Definition Graphics.h:134
static void addGBufferExtraDrawer(GBufferExtraDrawer drawer)
Adds g buffer extra drawer.
Definition RenderSystem3D.cpp:593
std::function< void(Graphics &gfx, const Camera3D::Data &cam, const glm::mat4 &viewProj, float aspect)> GBufferExtraDrawer
Register a callback that fills the G-buffer (depth/normal/albedo) for geometry outside the Renderable...
Definition RenderSystem3D.h:670
@ Failed
graphics::RenderSystem3D::GBufferExtraDrawer drawer
Definition FractureDepth.cpp:10