/** * Initialize the Render Hardware Interface for this vertex factory */ void FParticleSpriteVertexFactory::InitRHI() { InitStreams(); SetDeclaration(GetParticleSpriteVertexDeclaration(GRHISupportsInstancing, NumVertsInInstanceBuffer).VertexDeclarationRHI); }
/** * Initialize the Render Hardware Interface for this vertex factory */ void FParticleSpriteVertexFactory::InitRHI() { InitStreams(); SetDeclaration(GetParticleSpriteVertexDeclaration(GetFeatureLevel()).VertexDeclarationRHI); }