Go to the source code of this file.
|
| skgpu::graphite::DrawPassCommands::COMMAND (BindGraphicsPipeline, uint32_t fPipelineIndex) |
|
| skgpu::graphite::DrawPassCommands::COMMAND (SetBlendConstants, PODArray< float > fBlendConstants) |
|
| skgpu::graphite::DrawPassCommands::COMMAND (BindUniformBuffer, BindUniformBufferInfo fInfo;UniformSlot fSlot) |
|
| skgpu::graphite::DrawPassCommands::COMMAND (BindDrawBuffers, BindBufferInfo fVertices;BindBufferInfo fInstances;BindBufferInfo fIndices;BindBufferInfo fIndirect) |
|
| skgpu::graphite::DrawPassCommands::COMMAND (BindTexturesAndSamplers, int fNumTexSamplers;PODArray< int > fTextureIndices;PODArray< int > fSamplerIndices) |
|
| skgpu::graphite::DrawPassCommands::COMMAND (SetScissor, SkIRect fScissor) |
|
| skgpu::graphite::DrawPassCommands::COMMAND (Draw, PrimitiveType fType;uint32_t fBaseVertex;uint32_t fVertexCount) |
|
| skgpu::graphite::DrawPassCommands::COMMAND (DrawIndexed, PrimitiveType fType;uint32_t fBaseIndex;uint32_t fIndexCount;uint32_t fBaseVertex) |
|
| skgpu::graphite::DrawPassCommands::COMMAND (DrawInstanced, PrimitiveType fType;uint32_t fBaseVertex;uint32_t fVertexCount;uint32_t fBaseInstance;uint32_t fInstanceCount) |
|
| skgpu::graphite::DrawPassCommands::COMMAND (DrawIndexedInstanced, PrimitiveType fType;uint32_t fBaseIndex;uint32_t fIndexCount;uint32_t fBaseVertex;uint32_t fBaseInstance;uint32_t fInstanceCount) |
|
| skgpu::graphite::DrawPassCommands::COMMAND (DrawIndirect, PrimitiveType fType) |
|
| skgpu::graphite::DrawPassCommands::COMMAND (DrawIndexedIndirect, PrimitiveType fType) |
|
◆ ACT_AS_PTR
#define ACT_AS_PTR |
( |
|
ptr | ) |
|
Value: operator T*()
const {
return ptr; } \
T* operator->()
const {
return ptr; }
Definition at line 48 of file DrawCommands.h.
49 { return ptr; } \
50 T* operator->()
const {
return ptr; }
◆ ASSERT_TRIV_CPY
#define ASSERT_TRIV_CPY |
( |
|
T | ) |
static_assert(std::is_trivially_copyable<T>::value); |
◆ ASSERT_TRIV_DES
#define ASSERT_TRIV_DES |
( |
|
T | ) |
static_assert(std::is_trivially_destructible<T>::value); |
◆ COMMAND
#define COMMAND |
( |
|
T, |
|
|
|
... |
|
) |
| |
Value:
static constexpr Type kType = Type::k##
T; \
__VA_ARGS__; \
};
Definition at line 68 of file DrawCommands.h.
69 { \
71 __VA_ARGS__; \
72};
◆ ENUM
◆ SKGPU_DRAW_PASS_COMMAND_TYPES
#define SKGPU_DRAW_PASS_COMMAND_TYPES |
( |
|
M | ) |
|
Value: M(BindGraphicsPipeline) \
M(SetBlendConstants) \
M(BindUniformBuffer) \
M(BindDrawBuffers) \
M(BindTexturesAndSamplers) \
M(SetScissor) \
M(DrawIndexed) \
M(DrawInstanced) \
M(DrawIndexedInstanced) \
M(DrawIndirect) \
M(DrawIndexedIndirect)
static void Draw(SkCanvas *canvas, const SkRect &rect)
Definition at line 29 of file DrawCommands.h.