LLGL 0.05 Beta
Loading...
Searching...
No Matches
LLGL::Metal Namespace Reference

Classes

struct  NativeCommand
 Native command data structure as a workaround for backend differences. More...
struct  RenderSystemNativeHandle
 Native handle structure for the Metal render system. More...
struct  CommandBufferNativeHandle
 Native handle structure for the Metal command buffer. More...
struct  ResourceNativeHandle
 Native handle structure for a Metal resource. More...

Enumerations

enum class  NativeCommandType { ClearCache = 1u , TessFactorBuffer }
 Enumeration of all native commands the Metal backend can execute. More...
enum class  ResourceNativeType { Buffer , Texture , SamplerState }
 Native Metal resource type enumeration. More...

Enumeration Type Documentation

◆ NativeCommandType

enum class LLGL::Metal::NativeCommandType
strong

Enumeration of all native commands the Metal backend can execute.

See also
NativeCommand::type
Enumerator
ClearCache 

Clears the internal command buffer cache.

Remarks
This should be used when a native command buffer handle is retrieved and LLGL is supposed to continue dispatching graphics and compute commands after the native command buffer has been modified.
TessFactorBuffer 

Sets the binding slot for internal tessellation factor buffer.

See also
NativeCommand::tessFactorBuffer

◆ ResourceNativeType

Native Metal resource type enumeration.

See also
ResourceNativeHandle::type
Enumerator
Buffer 

Native Metal MTLBuffer resource.

Remarks
ResourceNativeHandle::buffer.
Texture 

Native Metal MTLTexture resource.

Remarks
ResourceNativeHandle::texture.
SamplerState 

Native Metal MTLSamplerState resource.

Remarks
ResourceNativeHandle::samplerState.