Questions tagged [metal]

For questions about the Metal graphics/compute API.

5 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
94 views

Are there any reasons to use power of two textures with modern mobile platforms?

Are there any reasons to use power of two textures (like 128x128 sized) if one targets modern mobile platforms (with OpenGL ES 3.0, Metal and/or Vulkan)? With iOS the PVRTC only supports power of two ...
1
vote
0answers
46 views

What is best way to use wavefront material file color parameter Kd to set vertex color in MetalKit submeshes?

I am developing a MacOS program using MacOS MetalKit and ModelIO. The ultimate goal is to use the 3D model to analyze the acoustic properties of a performance space. Initially I'm just creating a ...
1
vote
0answers
107 views

Sorting my geometry for alpha testing

Here is my predicament. I am trying to draw a multitude of dots that leave trails behind them real time. Heres the difficulty, that line fades. Each dot line has a defined z position and the goal ...
1
vote
0answers
203 views

Triple buffering without buffers?

Metal Best Practices Guide states that The setVertexBytes:length:atIndex: method is the best option for binding a very small amount (less than 4 KB) of dynamic buffer data to a vertex function I ...
1
vote
0answers
167 views

How to format a vertex layout descriptor (MTLVertexBufferLayoutDescriptor) for this scenario

I am having a lot of trouble understanding what the difference between a layout and a descriptor is inside of a MTLVertexBufferLayoutDescriptor object. I am hoping to create a layout descriptor that ...