mojoshader.h
branchtrunk
changeset 146 9a0d4707feb8
parent 145 5325c8d6077c
child 147 98043daf5027
equal deleted inserted replaced
145:5325c8d6077c 146:9a0d4707feb8
    55 typedef enum
    55 typedef enum
    56 {
    56 {
    57     MOJOSHADER_UNIFORM_FLOAT = 0,
    57     MOJOSHADER_UNIFORM_FLOAT = 0,
    58     MOJOSHADER_UNIFORM_INT = 1,
    58     MOJOSHADER_UNIFORM_INT = 1,
    59     MOJOSHADER_UNIFORM_BOOL = 2,
    59     MOJOSHADER_UNIFORM_BOOL = 2,
       
    60     MOJOSHADER_UNIFORM_SAMPLER_2D = 3,
       
    61     MOJOSHADER_UNIFORM_SAMPLER_CUBE = 4,
       
    62     MOJOSHADER_UNIFORM_SAMPLER_3D = 5,
    60 } MOJOSHADER_uniformType;
    63 } MOJOSHADER_uniformType;
    61 
    64 
    62 /*
    65 /*
    63  * These are the uniforms to be set for a shader. "Uniforms" are what Direct3D
    66  * These are the uniforms to be set for a shader. "Uniforms" are what Direct3D
    64  *  calls "Constants" ... IDirect3DDevice::SetVertexShaderConstantF() would
    67  *  calls "Constants" ... IDirect3DDevice::SetVertexShaderConstantF() would