mirror of https://github.com/axmolengine/axmol.git
26 lines
609 B
C
26 lines
609 B
C
|
#pragma once
|
||
|
|
||
|
#include "Macros.h"
|
||
|
#include "Types.h"
|
||
|
#include "VertexLayout.h"
|
||
|
#include "renderer/backend/ProgramState.h"
|
||
|
|
||
|
#include <vector>
|
||
|
|
||
|
CC_BACKEND_BEGIN
|
||
|
|
||
|
class DepthStencilState;
|
||
|
class BlendState;
|
||
|
|
||
|
struct RenderPipelineDescriptor
|
||
|
{
|
||
|
ProgramState* programState = nullptr;
|
||
|
BlendState* blendState = nullptr;
|
||
|
std::vector<VertexLayout> vertexLayouts;
|
||
|
TextureFormat colorAttachmentsFormat[MAX_COLOR_ATTCHMENT] = { TextureFormat::SYSTEM_DEFAULT };
|
||
|
TextureFormat depthAttachmentFormat = TextureFormat::NONE;
|
||
|
TextureFormat stencilAttachmentFormat = TextureFormat::NONE;
|
||
|
};
|
||
|
|
||
|
CC_BACKEND_END
|