Refactor draw calls drawing to use single objects buffer and better materials batching
This commit is contained in:
@@ -63,11 +63,6 @@ struct LightmapFeature : MaterialShaderFeature
|
||||
{
|
||||
enum { SRVs = 3 };
|
||||
|
||||
PACK_STRUCT(struct Data
|
||||
{
|
||||
Rectangle LightmapArea;
|
||||
});
|
||||
|
||||
static bool Bind(MaterialShader::BindParameters& params, Span<byte>& cb, int32& srv);
|
||||
#if USE_EDITOR
|
||||
static void Generate(GeneratorData& data);
|
||||
|
||||
Reference in New Issue
Block a user