SetLogicalIndexes() private méthode

private SetLogicalIndexes ( GpuLogicalBufferStruct floatIndexMap, GpuLogicalBufferStruct intIndexMap ) : void
floatIndexMap GpuLogicalBufferStruct
intIndexMap GpuLogicalBufferStruct
Résultat void
Exemple #1
0
        protected virtual void PopulateParameterNames(GpuProgramParameters parms)
        {
            var defs = ConstantDefinitions;             // Axiom: Ogre has SIDE EFFECT here!!

            parms.NamedConstants = constantDefs;
            // also set logical / physical maps for programs which use this
            parms.SetLogicalIndexes(floatLogicalToPhysical, intLogicalToPhysical);
        }