mirror of
https://github.com/bkaradzic/bgfx.cmake.git
synced 2026-02-17 21:12:35 +01:00
bimg: Add texturec and cmake macro
This commit is contained in:
@@ -35,6 +35,24 @@ with section("parse"):
|
||||
'DISASM',
|
||||
'WERROR'],
|
||||
'nargs': '1+'}},
|
||||
'_bgfx_texturec_parse': { 'kwargs': { 'AS': 1,
|
||||
'FILE': 1,
|
||||
'FORMAT': 1,
|
||||
'MAX': 1,
|
||||
'MIPSKIP': 1,
|
||||
'OUTPUT': 1,
|
||||
'QUALITY': 1,
|
||||
'RADIANCE': 1,
|
||||
'REF': 1},
|
||||
'pargs': { 'flags': [ 'MIPS',
|
||||
'NORMALMAP',
|
||||
'EQUIRECT',
|
||||
'STRIP',
|
||||
'SDF',
|
||||
'IQA',
|
||||
'PMA',
|
||||
'LINEAR'],
|
||||
'nargs': '*'}},
|
||||
'bgfx_compile_binary_to_header': { 'kwargs': { 'ARRAY_NAME': 1,
|
||||
'INPUT_FILE': 1,
|
||||
'OUTPUT_FILE': 1},
|
||||
@@ -43,7 +61,25 @@ with section("parse"):
|
||||
'SHADERS': '+',
|
||||
'TYPE': 1,
|
||||
'VARYING_DEF': 1},
|
||||
'pargs': {'flags': [], 'nargs': '*'}}}
|
||||
'pargs': {'flags': [], 'nargs': '*'}},
|
||||
'bgfx_compile_texture': { 'kwargs': { 'AS': 1,
|
||||
'FILE': 1,
|
||||
'FORMAT': 1,
|
||||
'MAX': 1,
|
||||
'MIPSKIP': 1,
|
||||
'OUTPUT': 1,
|
||||
'QUALITY': 1,
|
||||
'RADIANCE': 1,
|
||||
'REF': 1},
|
||||
'pargs': { 'flags': [ 'MIPS',
|
||||
'NORMALMAP',
|
||||
'EQUIRECT',
|
||||
'STRIP',
|
||||
'SDF',
|
||||
'IQA',
|
||||
'PMA',
|
||||
'LINEAR'],
|
||||
'nargs': '*'}}}
|
||||
|
||||
# Override configurations per-command where available
|
||||
override_spec = {}
|
||||
|
||||
Reference in New Issue
Block a user