13 virtual bool Initialize(
const CreateInfo& createInfo)
override;
14 virtual void Clear(ClearMode mask,
float clear_color[4],
float clear_depth, uint32_t clear_stencil)
override;
15 virtual void AdjustPerspective(
float *perspective)
override;
16 virtual void RegisterWindow(
Window* window)
override;
18 virtual const char* GetVendorName()
const override;
19 virtual const char* GetAdapterName()
const override;
20 virtual const char* GetAPIName()
const override;
21 virtual const char* GetAPIVersion()
const override;
22 virtual const char* GetDefaultShaderExtension()
const override;
56 virtual void CopyDepthBufferFromReadToWrite(uint32_t srcWidth, uint32_t srcHeight, uint32_t dstWidth, uint32_t dstHeight)
override;
58 virtual bool ShouldUseImmediateMode()
const override;
59 virtual bool SupportsCommandBuffers()
const override;
60 virtual bool SupportsTesselation()
const override;
61 virtual bool SupportsGeometryShader()
const override;
62 virtual bool SupportsComputeShader()
const override;
63 virtual bool SupportsMultiDrawIndirect()
const override;
65 virtual void WaitUntilIdle()
override;
69 virtual void DrawImmediateIndexed(GeometryType geom_type,
bool largeBuffer, int32_t baseVertex, uint32_t indexOffsetPtr, uint32_t indexCount)
override;
70 virtual void DrawImmediateVertices(GeometryType geom_type, uint32_t base, uint32_t count)
override;
71 virtual void SetImmediateBlending(
72 BlendOperation colorOp, BlendFactor colorSrc, BlendFactor colorDst,
73 BlendOperation alphaOp, BlendFactor alphaSrc, BlendFactor alphaDst
75 virtual void EnableDepthWrite(
bool state)
override;
76 virtual void BindDefaultFramebuffer()
override;
77 virtual void BindDefaultFramebufferWrite()
override;
78 virtual void BindDefaultFramebufferRead()
override;
79 virtual void SetColorMask(ColorMask mask)
override;
80 virtual void ResizeViewport(uint32_t w, uint32_t h)
override;
82 std::string vendorName;
83 std::string adapterName;
84 std::string apiVersion;
Definition Texture.hpp:40
Definition Texture.hpp:42
Definition Texture.hpp:52