mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 07:34:45 +00:00
Direct3D11 Engine/source changes
This commit is contained in:
parent
3a9b50f702
commit
41e5caf22b
81 changed files with 1291 additions and 617 deletions
|
|
@ -120,8 +120,10 @@ struct Var : public LangElement
|
|||
bool vertData; // argument coming from vertex data
|
||||
bool connector; // variable that will be passed to pixel shader
|
||||
bool sampler; // texture
|
||||
bool texture; //for D3D11 texture variables
|
||||
bool mapsToSampler; // for ps 1.x shaders - texcoords must be mapped to same sampler stage
|
||||
U32 arraySize; // 1 = no array, > 1 array of "type"
|
||||
U32 rank; // optional rank system to assist in sorting vars if needed
|
||||
|
||||
static U32 texUnitCount;
|
||||
static U32 getTexUnitNum(U32 numElements = 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue