| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Patrol.Type.GpuContext
Synopsis
- data GpuContext = GpuContext {
- apiType :: Text
- graphicsShaderLevel :: Text
- id :: Value
- maxTextureSize :: Maybe Int
- memorySize :: Maybe Double
- multiThreadedRendering :: Maybe Bool
- name :: Text
- npotSupport :: Text
- supportsComputeShaders :: Maybe Bool
- supportsGeometryShaders :: Maybe Bool
- supportsRayTracing :: Maybe Bool
- vendorId :: Text
- vendorName :: Text
- version :: Text
- empty :: GpuContext
Documentation
data GpuContext Source #
Constructors
| GpuContext | |
Fields
| |
Instances
| ToJSON GpuContext Source # | |
Defined in Patrol.Type.GpuContext Methods toJSON :: GpuContext -> Value # toEncoding :: GpuContext -> Encoding # toJSONList :: [GpuContext] -> Value # toEncodingList :: [GpuContext] -> Encoding # | |
| Show GpuContext Source # | |
Defined in Patrol.Type.GpuContext Methods showsPrec :: Int -> GpuContext -> ShowS # show :: GpuContext -> String # showList :: [GpuContext] -> ShowS # | |
| Eq GpuContext Source # | |
Defined in Patrol.Type.GpuContext | |
empty :: GpuContext Source #