Searched refs:vertexDescriptor (Results 1 – 10 of 10) sorted by relevance
105 MTLVertexDescriptor* vertexDescriptor = [[MTLVertexDescriptor alloc] init];106 vertexDescriptor.attributes[0].format = MTLVertexFormatFloat2;107 vertexDescriptor.attributes[0].offset = 0;108 vertexDescriptor.attributes[0].bufferIndex = kAttribute_BufferIndex;110 vertexDescriptor.layouts[kAttribute_BufferIndex].stepFunction = MTLVertexStepFunctionPerVertex;111 vertexDescriptor.layouts[kAttribute_BufferIndex].stepRate = 1;112 vertexDescriptor.layouts[kAttribute_BufferIndex].stride = sizeof(simd::float2);114 fVertexDescriptor = vertexDescriptor;
16 MTLVertexDescriptor* vertexDescriptor) {22 pipelineDescriptor.vertexDescriptor = vertexDescriptor;
162 auto vertexDescriptor = [[MTLVertexDescriptor alloc] init];168 MTLVertexAttributeDescriptor* mtlAttribute = vertexDescriptor.attributes[attributeIndex];180 vertexDescriptor.layouts[vertexBinding];189 MTLVertexAttributeDescriptor* mtlAttribute = vertexDescriptor.attributes[attributeIndex];201 vertexDescriptor.layouts[instanceBinding];206 return vertexDescriptor;345 pipelineDescriptor.vertexDescriptor = create_vertex_descriptor(primProc);350 SkASSERT(pipelineDescriptor.vertexDescriptor);
20 MTLVertexDescriptor* vertexDescriptor) {29 fGpu, dstPixelFormat, vertexFunction, fragmentFunction, vertexDescriptor));
25 MTLVertexDescriptor* vertexDescriptor);
21 MTLVertexDescriptor* vertexDescriptor);
195 auto vertexDescriptor = [[MTLVertexDescriptor alloc] init];204 MTLVertexAttributeDescriptor* mtlAttribute = vertexDescriptor.attributes[attributeIndex];223 vertexDescriptor.layouts[vertexBinding];238 MTLVertexAttributeDescriptor* mtlAttribute = vertexDescriptor.attributes[attributeIndex];257 vertexDescriptor.layouts[instanceBinding];265 return vertexDescriptor;405 auto vertexDescriptor = [[MTLVertexDescriptor alloc] init];414 … MTLVertexAttributeDescriptor* mtlAttribute = vertexDescriptor.attributes[attributeIndex];422 vertexDescriptor.layouts[vertexBinding];431 … MTLVertexAttributeDescriptor* mtlAttribute = vertexDescriptor.attributes[attributeIndex];[all …]
155 ANGLE_OBJC_CP_PROPERTY(objCDesc, desc, vertexDescriptor);895 const VertexDesc &desc = rpdesc.vertexDescriptor;1015 [objCDesc.get().vertexDescriptor.layouts
279 VertexDesc vertexDescriptor; member
2280 &mRenderPipelineDesc.vertexDescriptor));