Nebula
Loading...
Searching...
No Matches
framescripts.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
9//------------------------------------------------------------------------------
12#include "materials/materialtemplates.h"
13
14namespace Frame
15{
16
23
25{
28
30 {
31 this->tex = id;
32 }
33
35 {
36 auto ret = TextureImport(exp.tex);
37 ret.stage = exp.stage;
38 return ret;
39 }
40};
41
43void DrawBatch(const CoreGraphics::CmdBufferId cmdBuf, MaterialTemplates::BatchGroup batch, const Graphics::GraphicsEntityId id, const IndexT bufferIndex);
45void DrawBatch(const CoreGraphics::CmdBufferId cmdBuf, MaterialTemplates::BatchGroup batch, const Graphics::GraphicsEntityId id, const SizeT numInstances, const IndexT baseInstance, const IndexT bufferIndex);
46
47} // namespace Frame
PipelineStage
Definition config.h:191
ImGUI debug interface for inspecting frame scripts.
Definition shaderserverbase.h:52
void DrawBatch(const CoreGraphics::CmdBufferId cmdBuf, MaterialTemplates::BatchGroup batch, const Graphics::GraphicsEntityId id, const IndexT bufferIndex)
Draw.
Definition framescripts.cc:17
Definition commandbuffer.h:155
texture type
Definition texture.h:25
Definition framescripts.h:18
CoreGraphics::PipelineStage stage
Definition framescripts.h:21
uint index
Definition framescripts.h:19
CoreGraphics::TextureId tex
Definition framescripts.h:20
Definition framescripts.h:25
static TextureImport FromExport(const TextureExport &exp)
Definition framescripts.h:34
TextureImport(const CoreGraphics::TextureId id)
Definition framescripts.h:29
CoreGraphics::PipelineStage stage
Definition framescripts.h:27
CoreGraphics::TextureId tex
Definition framescripts.h:26
The graphics entity is only an Id, to which we can attach GraphicsContexts.
Definition graphicsentity.h:16
int SizeT
Definition types.h:49
unsigned int uint
Definition types.h:31
int IndexT
Definition types.h:48