Provisional light culling
This commit is contained in:
@@ -59,7 +59,7 @@ struct BulkResourceData
|
||||
{
|
||||
uint32 size;
|
||||
uint8 *data;
|
||||
Gfx::QueueType owner;
|
||||
Gfx::QueueType owner = Gfx::QueueType::GRAPHICS;
|
||||
BulkResourceData()
|
||||
: size(0), data(nullptr), owner(Gfx::QueueType::GRAPHICS)
|
||||
{
|
||||
@@ -116,6 +116,15 @@ struct UniformBufferCreateInfo
|
||||
{
|
||||
}
|
||||
};
|
||||
struct StructuredBufferCreateInfo
|
||||
{
|
||||
BulkResourceData resourceData;
|
||||
uint8 bDynamic: 1;
|
||||
StructuredBufferCreateInfo()
|
||||
: resourceData(), bDynamic(0)
|
||||
{
|
||||
}
|
||||
};
|
||||
struct ShaderCreateInfo
|
||||
{
|
||||
//It's possible to input multiple source files for materials or vertexFactories
|
||||
@@ -208,6 +217,7 @@ DECLARE_NAME_REF(Gfx, ControlShader)
|
||||
DECLARE_NAME_REF(Gfx, EvaluationShader)
|
||||
DECLARE_NAME_REF(Gfx, GeometryShader)
|
||||
DECLARE_NAME_REF(Gfx, FragmentShader)
|
||||
DECLARE_NAME_REF(Gfx, ComputeShader)
|
||||
DECLARE_NAME_REF(Gfx, PipelineLayout)
|
||||
DECLARE_NAME_REF(Gfx, RenderPass)
|
||||
struct GraphicsPipelineCreateInfo
|
||||
|
||||
Reference in New Issue
Block a user