Flutter Engine
The Flutter Engine
|
#include <GrMtlRenderCommandEncoder.h>
Public Member Functions | |
void | setLabel (NSString *label) |
void | pushDebugGroup (NSString *string) |
void | popDebugGroup () |
void | insertDebugSignpost (NSString *string) |
void | setRenderPipelineState (id< MTLRenderPipelineState > pso) |
void | setTriangleFillMode (MTLTriangleFillMode fillMode) |
void | setFrontFacingWinding (MTLWinding winding) |
void | setViewport (const MTLViewport &viewport) |
void | setVertexBuffer (id< MTLBuffer > buffer, NSUInteger offset, NSUInteger index) |
void | setVertexBufferOffset (NSUInteger offset, NSUInteger index) SK_API_AVAILABLE(macos(10.11) |
void | ios (8.3) |
void | tvos (9.0)) |
void | setFragmentBuffer (id< MTLBuffer > buffer, NSUInteger offset, NSUInteger index) |
void | setFragmentBufferOffset (NSUInteger offset, NSUInteger index) SK_API_AVAILABLE(macos(10.11) |
void | ios (8.3) |
void | tvos (9.0)) |
void | setVertexBytes (const void *bytes, NSUInteger length, NSUInteger index) SK_API_AVAILABLE(macos(10.11) |
void | ios (8.3) |
void | tvos (9.0)) |
void | setFragmentBytes (const void *bytes, NSUInteger length, NSUInteger index) SK_API_AVAILABLE(macos(10.11) |
void | ios (8.3) |
void | tvos (9.0)) |
void | setFragmentTexture (id< MTLTexture > texture, NSUInteger index) |
void | setFragmentSamplerState (GrMtlSampler *sampler, NSUInteger index) |
void | setBlendColor (SkPMColor4f blendConst) |
void | setStencilFrontBackReferenceValues (uint32_t frontReferenceValue, uint32_t backReferenceValue) SK_API_AVAILABLE(macos(10.11) |
void | ios (9.0) |
void | tvos (9.0)) |
void | setStencilReferenceValue (uint32_t referenceValue) |
void | setDepthStencilState (id< MTLDepthStencilState > depthStencilState) |
void | setScissorRect (const MTLScissorRect &scissorRect) |
void | drawPrimitives (MTLPrimitiveType primitiveType, NSUInteger vertexStart, NSUInteger vertexCount) |
void | drawPrimitives (MTLPrimitiveType primitiveType, NSUInteger vertexStart, NSUInteger vertexCount, NSUInteger instanceCount, NSUInteger baseInstance) SK_API_AVAILABLE(macos(10.11) |
void | ios (9.0) |
void | tvos (9.0)) |
void | drawPrimitives (MTLPrimitiveType primitiveType, id< MTLBuffer > indirectBuffer, NSUInteger indirectBufferOffset) SK_API_AVAILABLE(macos(10.11) |
void | ios (9.0) |
void | tvos (9.0)) |
void | drawIndexedPrimitives (MTLPrimitiveType primitiveType, NSUInteger indexCount, MTLIndexType indexType, id< MTLBuffer > indexBuffer, NSUInteger indexBufferOffset) |
void | drawIndexedPrimitives (MTLPrimitiveType primitiveType, NSUInteger indexCount, MTLIndexType indexType, id< MTLBuffer > indexBuffer, NSUInteger indexBufferOffset, NSUInteger instanceCount, NSInteger baseVertex, NSUInteger baseInstance) SK_API_AVAILABLE(macos(10.11) |
void | ios (9.0) |
void | tvos (9.0)) |
void | drawIndexedPrimitives (MTLPrimitiveType primitiveType, MTLIndexType indexType, id< MTLBuffer > indexBuffer, NSUInteger indexBufferOffset, id< MTLBuffer > indirectBuffer, NSUInteger indirectBufferOffset) SK_API_AVAILABLE(macos(10.11) |
void | ios (9.0) |
void | tvos (9.0)) |
void | endEncoding () |
Static Public Member Functions | |
static std::unique_ptr< GrMtlRenderCommandEncoder > | Make (id< MTLRenderCommandEncoder > encoder) |
Wraps a MTLRenderCommandEncoder object and associated tracked state
Definition at line 28 of file GrMtlRenderCommandEncoder.h.
void GrMtlRenderCommandEncoder::drawIndexedPrimitives | ( | MTLPrimitiveType | primitiveType, |
MTLIndexType | indexType, | ||
id< MTLBuffer > | indexBuffer, | ||
NSUInteger | indexBufferOffset, | ||
id< MTLBuffer > | indirectBuffer, | ||
NSUInteger | indirectBufferOffset | ||
) |
|
inline |
Definition at line 206 of file GrMtlRenderCommandEncoder.h.
void GrMtlRenderCommandEncoder::drawIndexedPrimitives | ( | MTLPrimitiveType | primitiveType, |
NSUInteger | indexCount, | ||
MTLIndexType | indexType, | ||
id< MTLBuffer > | indexBuffer, | ||
NSUInteger | indexBufferOffset, | ||
NSUInteger | instanceCount, | ||
NSInteger | baseVertex, | ||
NSUInteger | baseInstance | ||
) |
void GrMtlRenderCommandEncoder::drawPrimitives | ( | MTLPrimitiveType | primitiveType, |
id< MTLBuffer > | indirectBuffer, | ||
NSUInteger | indirectBufferOffset | ||
) |
|
inline |
Definition at line 182 of file GrMtlRenderCommandEncoder.h.
void GrMtlRenderCommandEncoder::drawPrimitives | ( | MTLPrimitiveType | primitiveType, |
NSUInteger | vertexStart, | ||
NSUInteger | vertexCount, | ||
NSUInteger | instanceCount, | ||
NSUInteger | baseInstance | ||
) |
|
inline |
Definition at line 244 of file GrMtlRenderCommandEncoder.h.
|
inline |
Definition at line 44 of file GrMtlRenderCommandEncoder.h.
void GrMtlRenderCommandEncoder::ios | ( | 8. | 3 | ) |
void GrMtlRenderCommandEncoder::ios | ( | 8. | 3 | ) |
void GrMtlRenderCommandEncoder::ios | ( | 8. | 3 | ) |
void GrMtlRenderCommandEncoder::ios | ( | 8. | 3 | ) |
void GrMtlRenderCommandEncoder::ios | ( | 9. | 0 | ) |
void GrMtlRenderCommandEncoder::ios | ( | 9. | 0 | ) |
void GrMtlRenderCommandEncoder::ios | ( | 9. | 0 | ) |
void GrMtlRenderCommandEncoder::ios | ( | 9. | 0 | ) |
void GrMtlRenderCommandEncoder::ios | ( | 9. | 0 | ) |
|
inlinestatic |
Definition at line 30 of file GrMtlRenderCommandEncoder.h.
|
inline |
Definition at line 41 of file GrMtlRenderCommandEncoder.h.
|
inline |
Definition at line 38 of file GrMtlRenderCommandEncoder.h.
|
inline |
|
inline |
Definition at line 165 of file GrMtlRenderCommandEncoder.h.
|
inline |
Definition at line 94 of file GrMtlRenderCommandEncoder.h.
void GrMtlRenderCommandEncoder::setFragmentBufferOffset | ( | NSUInteger | offset, |
NSUInteger | index | ||
) |
void GrMtlRenderCommandEncoder::setFragmentBytes | ( | const void * | bytes, |
NSUInteger | length, | ||
NSUInteger | index | ||
) |
|
inline |
Definition at line 139 of file GrMtlRenderCommandEncoder.h.
|
inline |
Definition at line 131 of file GrMtlRenderCommandEncoder.h.
|
inline |
Definition at line 62 of file GrMtlRenderCommandEncoder.h.
|
inline |
Definition at line 34 of file GrMtlRenderCommandEncoder.h.
|
inline |
Definition at line 48 of file GrMtlRenderCommandEncoder.h.
|
inline |
Definition at line 172 of file GrMtlRenderCommandEncoder.h.
void GrMtlRenderCommandEncoder::setStencilFrontBackReferenceValues | ( | uint32_t | frontReferenceValue, |
uint32_t | backReferenceValue | ||
) |
|
inline |
Definition at line 162 of file GrMtlRenderCommandEncoder.h.
|
inline |
Definition at line 55 of file GrMtlRenderCommandEncoder.h.
|
inline |
Definition at line 70 of file GrMtlRenderCommandEncoder.h.
void GrMtlRenderCommandEncoder::setVertexBufferOffset | ( | NSUInteger | offset, |
NSUInteger | index | ||
) |
void GrMtlRenderCommandEncoder::setVertexBytes | ( | const void * | bytes, |
NSUInteger | length, | ||
NSUInteger | index | ||
) |
|
inline |
Definition at line 66 of file GrMtlRenderCommandEncoder.h.
|
inline |
Definition at line 86 of file GrMtlRenderCommandEncoder.h.
|
inline |
Definition at line 110 of file GrMtlRenderCommandEncoder.h.
|
inline |
Definition at line 119 of file GrMtlRenderCommandEncoder.h.
|
inline |
Definition at line 125 of file GrMtlRenderCommandEncoder.h.
|
inline |
Definition at line 157 of file GrMtlRenderCommandEncoder.h.
|
inline |
Definition at line 191 of file GrMtlRenderCommandEncoder.h.
|
inline |
Definition at line 200 of file GrMtlRenderCommandEncoder.h.
|
inline |
Definition at line 221 of file GrMtlRenderCommandEncoder.h.
|
inline |
Definition at line 235 of file GrMtlRenderCommandEncoder.h.